cli

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2026 License: MIT Imports: 18 Imported by: 0

Documentation

Overview

Package cli defines the `north` command tree and dispatches each subcommand.

Commands operate directly on the in-repo north/ board (discovered by walking up from cwd) — there is no service to reach. Failures print "error [<code>]: <msg>" to stderr; when the failing command was invoked with --json, the error is emitted as a JSON object instead so agents can parse it. Exit codes follow one contract in every output mode: 0 success, 1 internal, 2 invalid/usage, 3 not_found, 4 conflict.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute() int

Execute builds the root command and runs it, returning a process exit code.

Types

This section is empty.

Jump to

Keyboard shortcuts

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