-
Notifications
You must be signed in to change notification settings - Fork 22
/
usage.go
35 lines (31 loc) · 915 Bytes
/
usage.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
package main
import (
"fmt"
"github.com/dfinity/keysmith/cmd"
)
func Usage() string {
return fmt.Sprintf(`usage: keysmith <command> [<args>]
Available Commands:
%s Print your account identifier.
%s Generate your mnemonic seed and write it to a file.
%s Print your legacy address.
%s Print your principal identifier.
%s Derive your private key and write it to a file.
%s Print your public key.
%s Print the available commands.
%s Print the version number.
%s Derive your extended private key and write it to a file.
%s Print your extended public key.
`,
cmd.ACCOUNT_CMD,
cmd.GENERATE_CMD,
cmd.LEGACY_ADDRESS_CMD,
cmd.PRINCIPAL_CMD,
cmd.PRIVATE_KEY_CMD,
cmd.PUBLIC_KEY_CMD,
cmd.SHORTLIST_CMD,
cmd.VERSION_CMD,
cmd.X_PRIVATE_KEY_CMD,
cmd.X_PUBLIC_KEY_CMD,
)
}