cmd

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: May 19, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package cmd is the dispatcher for the lintme CLI. It registers all commands and routes incoming arguments to the matching command implementation.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context, args []string, stdin io.Reader, stdout, stderr io.Writer) error

Run parses args and dispatches to the matching command. args must not include the executable name (pass os.Args[1:]).

Every flag can be set via a LINTME_-prefixed environment variable. The mapping rule is: prepend LINTME_, uppercase, replace dashes with underscores.

Flags supplied on the command line always take precedence over env vars.

Types

This section is empty.

Directories

Path Synopsis
Package branch implements the "branch" CLI command.
Package branch implements the "branch" CLI command.
Package pr implements the "pr" CLI command.
Package pr implements the "pr" CLI command.
Package root defines the root configuration for the CLI.
Package root defines the root configuration for the CLI.
Package run implements the "run" CLI command.
Package run implements the "run" CLI command.
Package version implements the "version" CLI command.
Package version implements the "version" CLI command.

Jump to

Keyboard shortcuts

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