cli

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2026 License: MIT Imports: 16 Imported by: 0

Documentation

Overview

Package cli implements the command-line interface for the Guardian CLI tool. It uses Go's standard os.Args and flag packages for argument parsing and routes commands to their respective handlers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(args []string) int

Run parses the command-line arguments and dispatches to the appropriate handler. It returns an exit code: 0 for success, 1 for logical failure (e.g., violations found, not allowed), and 2 for errors.

Types

This section is empty.

Jump to

Keyboard shortcuts

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