cli

package
v0.31.0 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2026 License: MIT Imports: 76 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package cli wires cobra's root command and every subcommand. cmd/orch's main.go is a thin wrapper around Run — nothing under internal/ ever imports cmd/ (CHECKLIST.md rule 15), so the dependency runs the other way.

Index

Constants

View Source
const DefaultIssuesLabel = config.DefaultSyncIssuesLabel

DefaultIssuesLabel is the label `orch sync issues` reads when neither the flag nor config.yaml names one.

Namespaced on purpose: a project's tracker already uses `bug`, `enhancement` and the rest for its own triage, and orch must not claim one of those. `orch:task` says who it belongs to.

View Source
const NPMRegistryEnv = "ORCH_NPM_REGISTRY"

NPMRegistryEnv points the agent CLIs' version check at another npm registry (a mirror, or a test's fake).

Variables

This section is empty.

Functions

func Run

func Run(version string, args []string) int

Run executes the CLI against args and returns the process exit code. main() calls os.Exit(Run(...)) — kept separate so tests can drive it in-process without os.Exit killing the test binary.

Types

This section is empty.

Jump to

Keyboard shortcuts

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