cli

package
v3.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package cli provides the commandline interface for gitcc.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cli

type Cli struct {
	// contains filtered or unexported fields
}

Cli is the commandline interface entrypoint.

func NewCli

func NewCli(newValidatorFn gitcc.ValidatorConstructor) *Cli

NewCli creates a new Cli instance.

func (*Cli) Execute

func (cli *Cli) Execute() error

Execute runs the main application.

type ExitError

type ExitError struct {
	Code int
}

ExitError is a custom error type carrying an exit code. It does not carry any error.

func (*ExitError) Error

func (*ExitError) Error() string

Jump to

Keyboard shortcuts

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