Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitParsers ¶ added in v1.2.0
func InitParsers()
Types ¶
type ArgsStr ¶ added in v1.2.0
type ArgsStr struct { New *NewCmd `arg:"subcommand:new" help:"Create a new text file"` Config *ConfigCmd `arg:"subcommand:config" help:"Configure some program variables"` Open string `arg:"-o" help:"Open a file for editing or reading" placeholder:"FILE"` Delete string `arg:"-d,--del" help:"Deletes a file" placeholder:"FILE"` Temporal bool `arg:"-t,--tmp" help:"Specifies whether the operation will be done in the temporary or constant directory."` List bool `arg:"-l" help:"List all files, whether temporary or not"` Print string `arg:"-p" help:"Print the file showing its details, without opening an editor." placeholder:"FILE"` }
var Args ArgsStr
func (ArgsStr) Description ¶ added in v1.2.0
Click to show internal directories.
Click to hide internal directories.