Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Gen ¶
type Gen struct { Length int `short:"l" help:"Length of the secret" default:"16"` Digits int `short:"d" help:"Number of digits in the secret" default:"2"` Symbols int `short:"s" help:"Number of symbols in the secret" default:"2"` NoUpper bool `help:"Don't allow upper case letters"` NoRepeats bool `help:"Don't allow repeats"` }
Gen is the generate command
type Get ¶
type Get struct { Name string `arg:"" required:"" help:"Name of the secret"` User string `short:"u" env:"USER" help:"Username for the secret"` }
Get is the get command
type List ¶
type List struct {
User string `short:"u" env:"USER" help:"Username for the secret"`
}
List is the list command
type Set ¶
type Set struct { Name string `arg:"" required:"" help:"Name for the secret"` User string `short:"u" env:"USER" help:"Username associated with this secret"` Ask bool `short:"a" help:"Enter the secret from the terminal instead of generating one."` Update bool `short:"U" help:"Don't ask to update if secret already exists."` Gen `group:"gen secret options"` }
Set is the set command
Click to show internal directories.
Click to hide internal directories.