Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Version = "dev"
Version is set at build time via -ldflags. Example: go build -ldflags "-X github.com/valonmulolli/cipherlock/cmd.Version=v1.2.0" . Falls back to the module version reported by debug.ReadBuildInfo() when installed with 'go install example/cipherlock@v1.2.0'.
Functions ¶
func Execute ¶
func Execute() error
Execute runs the cipherlock CLI, dispatching to the appropriate subcommand (encrypt, decrypt, rekey, completion, config, shred, info). It returns an error when the command fails; the root command itself is configured to suppress printing usage on errors via SilenceUsage.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.