mirror of
https://seed.radicle.dev/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5.git
synced 2026-11-16 00:00:37 +08:00
This is a small cleanup to path generation during testing. 1. Separate `rad_home` and `unix_home` to avoid confusion. 2. Remove now unnecessary `trait HasHome`. 3. Move setting `$USER` to the environment. 4. Make paths shorter overall, to fix macOS tests.
1.2 KiB
1.2 KiB
The rad self command is used to display information about your local
device and node.
$ rad self
Alias alice
DID did:key:z6MknSLrJoTcukLrE435hVNQT4JUhbvWLX4kUzqkEStBU8Vi
Node not running
SSH not running
├╴Key (hash) SHA256:UIedaL6Cxm6OUErh9GQUzzglSk7VpQlVTI1TAFB/HWA
└╴Key (full) ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHahWSBEpuT1ESZbynOmBNkLBSnR32Ar4woZqSV2YNH1
Home [..]/alice/.radicle
├╴Config [..]/alice/.radicle/config.json
├╴Storage [..]/alice/.radicle/storage
├╴Keys [..]/alice/.radicle/keys
└╴Node [..]/alice/.radicle/node
If you need to display only your DID, Node ID, or SSH Public Key, you can use the various options available:
$ rad self --did
did:key:z6MknSLrJoTcukLrE435hVNQT4JUhbvWLX4kUzqkEStBU8Vi
$ rad self --nid
z6MknSLrJoTcukLrE435hVNQT4JUhbvWLX4kUzqkEStBU8Vi
$ rad self --nid
! Deprecated: The command/option `rad self --nid` is deprecated and will be removed. Please use `rad node status --only nid` instead.
$ rad self --ssh-key
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHahWSBEpuT1ESZbynOmBNkLBSnR32Ar4woZqSV2YNH1
$ rad self --home
[..]/alice/.radicle