init --copy: put the recovery phrase on the clipboard
Opt-in, as one line of words. Uses wl-copy, xclip, xsel, pbcopy or clip.exe, and falls back to asking the terminal (OSC 52), which works over SSH. The output says how it was copied and to clear the clipboard afterwards. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AeFqV96dVeBX94inzcgZKw
This commit is contained in:
@@ -25,7 +25,10 @@ This prints your 12-word recovery phrase **once**. Write it down: it is the only
|
||||
way to get your identity and listings back if the machine is lost
|
||||
(`allmende recover`). Keys and the database live in the data directory,
|
||||
`~/.local/share/allmende` by default (change it with `--data <dir>` or the
|
||||
`ALLMENDE_DATA` environment variable).
|
||||
`ALLMENDE_DATA` environment variable). `bin/allmende init --copy` also copies the
|
||||
words to the clipboard as one line (via `wl-copy`, `xclip`, `xsel` or `pbcopy`,
|
||||
or your terminal over SSH): paste them into a password manager, then clear the
|
||||
clipboard.
|
||||
|
||||
**3. Start the node**
|
||||
|
||||
|
||||
Reference in New Issue
Block a user