cli

package
v0.0.17 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2026 License: MIT Imports: 10 Imported by: 1 module, 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 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 flag defines the flags shared by ar2's commands.
Package flag defines the flags shared by ar2's commands.
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 run implements the 'ar2 run' command.
Package run implements the 'ar2 run' command.
Package test implements the 'ar2 test' command.
Package test implements the 'ar2 test' 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.

Jump to

Keyboard shortcuts

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