vault

package
v1.15.1 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Cmd = &cobra.Command{
	Use:   "vault",
	Short: "Encryption and decryption utility",
	Long: `
Encrypt sensitive content such as passwords so you can protect it rather than 
leaving it visible as plaintext in public place. To use vault you need another 
password(vault-pass) to encrypt and decrypt the content.`,
}

Cmd represents the vault command

Functions

func GetVaultPassword

func GetVaultPassword() string

GetVaultPassword from terminal prompt or vault file.

func SetHelpFunc added in v1.6.0

func SetHelpFunc(rootCmd *cobra.Command)

SetHelpFunc for vault command and its subcommands.

Types

This section is empty.

Jump to

Keyboard shortcuts

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