cmd

package
v1.0.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: May 5, 2026 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Overview

Package cmd provides the top-level Cobra command tree, global flags, and command execution entry points for batch-tool.

The package handles argument validation and command composition, with repository selection and execution behavior provided by lower-level packages.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the RootCmd.

func RootCmd

func RootCmd() *cobra.Command

RootCmd configures the top-level root command along with all subcommands and flags

Types

This section is empty.

Directories

Path Synopsis
Package exec provides the command implementation for running shell commands or executable files across selected repositories.
Package exec provides the command implementation for running shell commands or executable files across selected repositories.
Package git provides git-focused subcommands for branch, status, commit, push, diff, stash, and update operations across repository batches.
Package git provides git-focused subcommands for branch, status, commit, push, diff, stash, and update operations across repository batches.
Package make provides command handlers for executing one or more make targets across a selected set of repositories.
Package make provides command handlers for executing one or more make targets across a selected set of repositories.
Package pr provides pull-request lifecycle commands such as create, edit, get, and merge across repository batches.
Package pr provides pull-request lifecycle commands such as create, edit, get, and merge across repository batches.

Jump to

Keyboard shortcuts

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