SMAH(1)
SMAH(1)SMAH(1)

Name

smah — it does the thing

A small matte-black robot with glowing amber eyes stands on a mechanical keyboard beside a laptop displaying the SMAH(1) man page: NAME smah — it does the thing, plus SYNOPSIS and DESCRIPTION in phosphor green.
$ man smah · desk lamp optional · robot not included

Synopsis

smah [--thing] [-n] [-q] [-h] [--] [TARGET]

Description

smah is a small professional CLI. One binary. One job. It does the thing. There is no subcommand maze, no plugin host, no telemetry handshake before work begins.

Invoke it. The thing happens. Status on stderr only if you asked. This page is the documentation, the marketing, and the license comment.

Options

-h, --help
Print this man page to standard output and exit. The thing is not done.
-n, --dry-run
Describe the thing. Do not do it. Useful when you only wanted to know.
--thing
Do the thing. This is the default, the point, and the entire product.
--quiet
Do the thing without announcing it. Exit status still reports the truth.
A brushed-steel robot hand types on a compact keyboard while a green CRT shows the smah man page and the line did the thing. followed by a blinking prompt.
EXIT 0 · the thing was done

Exit status

  • 0The thing was done.
  • 1The thing was not done.
  • 64Usage error (sysexits). You asked for a different thing.

Examples

$ smah
did the thing.
$ smah --dry-run
would do the thing.
$ echo $?
0
$ smah --quiet && echo ok
ok

Bugs

It does the thing even when you meant a different thing. That is not a bug; that is the specification. Do not file tickets. There is no waitlist. There is no backend. There is only the thing.

Square mark of a dark terminal window with a tiny robot head, amber prompt $ smah, and a phosphor-green pixel checkmark.

See also

smah.pro — it does the thing.

$ smah

The Robot Lives