cmd

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2026 License: MIT Imports: 31 Imported by: 0

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.

Jump to

Keyboard shortcuts

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