cmd

module
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2026 License: GPL-3.0

README

cmd

cmd is a go module for misc command-line tools.

Generally, you'll find each tool does one thing, and uses the universal medium of text. You know, the whole Unix philosophy deal.

Some of them might seem too basic to be their own program, but when Go builds binaries so rapidly, keeping them separate is not a problem. And by shoving them all in one go module, each tool can be installed individually while code can still be shared between them.

Install

mise use -g go:crdx.org/cmd/$NAME
go install crdx.org/cmd/$NAME@latest

Completions

Install cmdctl and run cmdctl install to add the eval line to ~/.bashrc, or add it manually:

eval "$(cmdctl generate bash)"

Bash completions are then provided for any tools on PATH. Completions activate for newly installed tools on the next shell startup.

See the cmdctl README for more information about how shell completions are generated.

Tools

The README in the root directory of each tool has tool-specific documentation.

  • chronic — Run a command quietly unless it fails.
  • cmdctl — Self-referential management tool.
  • uchar — Describe Unicode characters.
  • unbuffer — Force unbuffered, coloured output from commands.
  • ver — Bump and tag (sem)versions.

Directories

Path Synopsis
pkg
sh

Jump to

Keyboard shortcuts

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