cmd

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package cmd implements the valsenv command-line interface using cobra.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute() int

Execute runs the root command and maps the resulting error to a process exit code, preserving the historical contract:

0 -> success
1 -> runtime/render failure (fail-closed; nothing written on error)
2 -> usage error (missing/unknown command, unknown flag, unexpected arg)

SilenceErrors is set, so Execute is responsible for printing errors to stderr.

Types

This section is empty.

Jump to

Keyboard shortcuts

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