cmd

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 4, 2026 License: MIT Imports: 17 Imported by: 0

Documentation

Overview

Package cmd contains the kvlt cobra command tree.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute runs the root command; invoked by main. SilenceUsage drops the help-text dump on runtime failures (config not found, bind:port in use, …) where it's just noise.

Errors flow up from pkg/kvlt as wrapped sentinels, return through each verb's RunE verbatim, and land here. We render one themed line via cli.Failure and exit with the code exitCodeFor maps from the sentinel — the only place in the binary that translates a library error into shell-shaped output. The library never logs.

Types

This section is empty.

Jump to

Keyboard shortcuts

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