cli

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2026 License: MIT Imports: 21 Imported by: 0

Documentation

Overview

Package cli provides the command-line interface layer for ar2. It parses commands and flags with cobra and delegates the work to the controller packages.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context, logger *slogutil.Logger, env *cobrautil.Env) error

Run creates and executes the ar2 CLI application.

Types

This section is empty.

Directories

Path Synopsis
Package add implements the 'ar2 add' command.
Package add implements the 'ar2 add' command.
Package dates implements the 'ar2 dates' command.
Package dates implements the 'ar2 dates' command.
Package flag defines the flags shared by ar2's commands.
Package flag defines the flags shared by ar2's commands.
Package identify implements the 'ar2 identify' command.
Package identify implements the 'ar2 identify' command.
Package identities tells a registry client what each package's branch is named after.
Package identities tells a registry client what each package's branch is named after.
Package index implements the 'ar2 index' command.
Package index implements the 'ar2 index' command.
Package initcmd implements the 'ar2 init' command.
Package initcmd implements the 'ar2 init' command.
Package regenerate implements the 'ar2 regenerate' command.
Package regenerate implements the 'ar2 regenerate' command.
Package remove implements the 'ar2 remove' command.
Package remove implements the 'ar2 remove' command.
Package rename implements the 'ar2 rename' command.
Package rename implements the 'ar2 rename' command.
Package run implements the 'ar2 run' command.
Package run implements the 'ar2 run' command.
Package show implements the 'ar2 show' command.
Package show implements the 'ar2 show' command.
Package state implements the 'ar2 state' command.
Package state implements the 'ar2 state' command.
Package statefile reads and writes ar2's state where the commands keep it.
Package statefile reads and writes ar2's state where the commands keep it.
Package template implements the 'ar2 template' command.
Package template implements the 'ar2 template' command.
Package test implements the 'ar2 test' command.
Package test implements the 'ar2 test' command.
Package tidy implements the 'ar2 tidy' command.
Package tidy implements the 'ar2 tidy' command.
Package token builds the GitHub clients ar2 uses beside the ordinary one.
Package token builds the GitHub clients ar2 uses beside the ordinary one.
Package validateindex implements the 'ar2 validate-index' command.
Package validateindex implements the 'ar2 validate-index' command.
Package versions implements the 'ar2 versions' command.
Package versions implements the 'ar2 versions' command.

Jump to

Keyboard shortcuts

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