package
1.1.0
Repository: https://github.com/ggp1/kure.git
Documentation: pkg.go.dev

# Packages

Package tfa handles two-factor authentication codes.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

BuildBox constructs a responsive box used to display records information.
Erase overwrites the file content with random bytes and then deletes it.
Exists checks if name or one of its folders is already being used.
FmtExpires returns expires formatted.
MustExist returns an error if a record does not exist or if the name is invalid.
MustExistLs is like MustExist but it doesn't fail if there are no arguments or if the user is using the filter flag.
MustNotExist returns an error if the record exists or if the name is invalid.
NormalizeName sanitizes the user input name.
SelectEditor returns the editor to use, if none is found it returns vim.
SetContext sets up the testing environment.
SupportedManagers validates if the password manager used to import/export records is supported.
WatchFile looks for the file initial state and loops until the first modification.
WriteClipboard writes the content to the clipboard and deletes it after "t" if "t" is higher than 0 or if there is a default timeout set in the configuration.

# Constants

Card object.
Entry
Entry object.
File object.
TOTP object.

# Variables

ErrInvalidLength is returned when generating a password/passphrase and the length passed is < 1.
ErrInvalidName is returned when a name is required and received "" or contains "//".
ErrInvalidPath is returned when a path is required and received "".

# Type aliases

RunEFunc runs a cobra function returning an error.