Help us shape the future of Go! Take the 2026 Go Developer Survey

keycmd

package
v0.0.29 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 5, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var KeysCmd = &cobra.Command{
	Use:   "key command [flags]",
	Short: "Create and manage your account and push keys.",
	Long: `This command provides the ability to create, list, import and update 
keys. Keys are stored in an encrypted format using a passphrase. 
Please understand that if you forget the password, it is IMPOSSIBLE to 
unlock your key. 

During creation, if a passphrase is not provided, the key is still encrypted using
a default (unprotected) passphrase and marked as 'unprotected'. You can change the passphrase 
at any time. (not recommended)

Keys are stored under <DATADIR>/` + config.KeystoreDirName + `. It is safe to transfer the 
directory or individual accounts to another node. 

Always backup your keeps regularly.`,
	RunE: func(cmd *cobra.Command, args []string) error {
		return cmd.Help()
	},
}

KeysCmd represents the parent command for all key related commands

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL