Documentation ¶
Index ¶
- func AddPassword(fs *flag.FlagSet, args []string) error
- func EditPassword(fs *flag.FlagSet, args []string) error
- func FindPassword(fs *flag.FlagSet, args []string) error
- func GeneratePassword(fs *flag.FlagSet, args []string) error
- func ListPassword(fs *flag.FlagSet, args []string) error
- func RemovePassword(fs *flag.FlagSet, args []string) error
- func ShowPassword(fs *flag.FlagSet, args []string) error
- type EmptyValueError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddPassword ¶
AddPassword add new password based on flags.
func EditPassword ¶
EditPassword edit existing password in vault.
func FindPassword ¶
FindPassword find password by matching the name.
func GeneratePassword ¶
GeneratePassword generates a password based on flags.
func RemovePassword ¶
RemovePassword remove password from vault by name.
Types ¶
type EmptyValueError ¶
type EmptyValueError struct {
Field string
}
EmptyValueError represents an error when a field is empty.
func (*EmptyValueError) Error ¶
func (e *EmptyValueError) Error() string
Error returns the error message for EmptyValueError.
Click to show internal directories.
Click to hide internal directories.