cmd

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2021 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Edit

func Edit(cmd *cobra.Command, args []string, openEditor bool)

func Execute

func Execute(v string)

func GetKeyFromFlags

func GetKeyFromFlags() vault.Key

Types

type InputInfo

type InputInfo struct {
	// contains filtered or unexported fields
}

func GetInputInfo

func GetInputInfo(input string, keyChoice vault.Key, envKeyPrefix string) (*InputInfo, error)

func (*InputInfo) Decrypt

func (i *InputInfo) Decrypt(doNotAskForKey bool, keyPrompt string) error

func (*InputInfo) Encrypt added in v1.0.2

func (i *InputInfo) Encrypt() (string, error)

func (InputInfo) IsYaml added in v1.0.2

func (i InputInfo) IsYaml() bool

Jump to

Keyboard shortcuts

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