init: also print the recovery phrase as one plain line

The numbered table pastes badly; a single line can be selected with a triple
click and pasted into a password manager or 'allmende recover'.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AeFqV96dVeBX94inzcgZKw
This commit is contained in:
2026-11-18 11:07:03 +01:00
co-authored by Claude Sonnet 5.5
parent 548efdc87b
commit 5551e7e151
2 changed files with 5 additions and 2 deletions
+2 -1
View File
@@ -25,7 +25,8 @@ 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). `bin/allmende init --copy` also copies the
`ALLMENDE_DATA` environment variable). Besides the numbered list, `init` prints the
words as one plain line you can triple-click and paste. `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.