Discover Packages
github.com/gertd/volbo
pkg
cmd
package
Version:
v0.0.2
Opens a new window with list of versions in this module.
Published: Apr 10, 2022
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type CLI struct {
Get GetCmd `cmd:"" help:"get secret"`
Set SetCmd `cmd:"" help:"set secret"`
Del DelCmd `cmd:"" help:"delete secret"`
Version VersionCmd `cmd:"" help:"version info"`
}
type DelCmd struct {
Key string `arg:"" name:"key" required:"" help:"secret name"`
}
type GetCmd struct {
Key string `arg:"" name:"key" required:"" help:"secret name"`
}
type SetCmd struct {
Key string `arg:"" name:"key" required:"" help:"secret name"`
Value string `xor:"group" required:"" name:"value" help:"secret value"`
Input *os .File `xor:"group" required:"" name:"file" type:"existingfile" help:"secret value from file or stdin"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.