cli

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2026 License: MIT Imports: 17 Imported by: 0

Documentation

Overview

Package cli implements the dibs command line.

Index

Constants

View Source
const (
	ExitOK     = 0
	ExitErr    = 1
	ExitDenied = 2
)

Exit codes: 0 ok/free, 1 error, 2 denied/held — scripts and hooks branch on 2 to mean "someone else has it".

Variables

This section is empty.

Functions

func PrintAgentsSnippet

func PrintAgentsSnippet() string

PrintAgentsSnippet is used by docs generation and tests.

func Run

func Run(args []string, usage string) int

Run dispatches a subcommand and returns the process exit code.

Types

This section is empty.

Jump to

Keyboard shortcuts

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