cli

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: May 14, 2026 License: MIT Imports: 48 Imported by: 0

Documentation

Overview

Package cli wires Cobra commands. The exported NewRootCommand() builder is testable from package _test files; Execute() is the main-entry shim.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute() int

Execute is the main entry point — runs the root command and returns the exit code (0 success, 1 usage error, 2 runtime error).

func NewRootCommand

func NewRootCommand() *cobra.Command

NewRootCommand builds the codeiq root command and all subcommands. Each subcommand registers itself via init() in this package.

Types

This section is empty.

Jump to

Keyboard shortcuts

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