Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Input flag Input = "input" // Output flag Output = "output" // Passwd flag Passwd = "passwd" // Generate flag Generate = "generate" // Use flag Use = "use" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command struct {
// contains filtered or unexported fields
}
Command instance allows to run ActionFunc
type CommandFactory ¶
type CommandFactory struct{}
CommandFactory instance allows to create command
func NewCommandFactory ¶
func NewCommandFactory() *CommandFactory
NewCommandFactory creates new factory instance for creating command
func (*CommandFactory) SetDecrypter ¶
func (cf *CommandFactory) SetDecrypter(c *cli.Context) (*Command, error)
SetDecrypter sets decrypt direction command
func (*CommandFactory) SetEncrypter ¶
func (cf *CommandFactory) SetEncrypter(c *cli.Context) (*Command, error)
SetEncrypter sets encrypt direction command
Click to show internal directories.
Click to hide internal directories.