Guide
This documentation is organised by what you need to solve right now, not by feature directory. Every page stands on its own; the cross-links tell you where to go next.
Three common paths
| Your situation | These three pages are enough |
|---|---|
| First contact, deciding whether it is worth using | Thirty seconds → Five hard rules → Cookbook |
| Scripts already in production, want the library without a rewrite | Install → Five-step migration → Testing and gates |
| Need the exact signature of one function | API reference, one page per module |
Getting started
- Install and upgrade -- one command, pinned versions, internal mirrors, offline archives, update and uninstall.
- Thirty seconds -- generate a project, read its layout, add your first subcommand.
Core concepts
- Five hard rules -- why stdout carries data only, and why out-parameters use
printf -v. - Bash 3.2 compatibility -- the syntax that crashes on the bash macOS ships, and why.
- Module map -- the 27 modules, what each one owns, and when to reach for it.
Common tasks
- Cookbook -- 27 scenarios, each one scenario / code / why.
- CLI framework -- registered commands, generated help, option parsing.
- Internationalisation -- English msgids, pot/po/mo, and degrading gracefully without gettext.
- Testing and gates -- the assertion library, the per-file runner, what each
make checkstep blocks. - Working with AI -- three artefacts from one source, plus a prompt you can paste.
Advanced
- Example projects -- two projects you can run right now; the topic is assembly.
- Five-step migration -- kill stdout pollution first, then configuration, prompts, CLI, tests.
- Compatibility policy -- what counts as a breaking change, the deprecation window, and the functions that carry no promise.
- Releasing -- one command bumps the version, and why it is built that way.
- Contributing -- adding a module means four edits; miss one and the gate goes red.
When things break
- Troubleshooting -- exit code → symptom → fix.
- FAQ -- twelve questions that were actually asked.