cli

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2026 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Overview

Package cli provides the same commands to the standalone spod binary and embedders.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExitCode

func ExitCode(err error) int

func NewCommand

func NewCommand() *cobra.Command

func StyleHelp added in v0.2.0

func StyleHelp(cmd *cobra.Command)

StyleHelp applies the shared help styling to cmd; cobra inherits usage templates from the root, so every subcommand picks it up.

Types

This section is empty.

Jump to

Keyboard shortcuts

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