cli

package
v0.0.22 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2026 License: MIT Imports: 12 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 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 regenerate implements the 'ar2 regenerate' command.
Package regenerate implements the 'ar2 regenerate' 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 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