Commands

Commands

Run help in the shell for the live catalogue. Sources are marked (source).

Flags

Flags are the responsibility of each cmd-* package; the REPL translates the Unix-style flags you type into the typed options those packages expose. For example wc -lwc.WcLines, head -n 10 / head -10head.HeadLines(10), grep -vgrep.GrepInvert. See each command’s own repository for the full flag semantics.

Not wired

Some constructors require non-textual Go values and therefore cannot be built from a typed command line:

If cmd-awk later offers a parser that builds a Program from a script string, awk can be wired like the others.