bonsai guide
Synopsis
Section titled “Synopsis”bonsai guide [topic]Description
Section titled “Description”bonsai guide renders a bundled cheatsheet directly in your terminal using Glamour markdown rendering. The cheatsheets are embedded in the Bonsai binary alongside the catalog and are designed as quick terminal companions to the full Starlight documentation.
Run bonsai guide with no arguments to open an interactive picker. Pass a topic directly (bonsai guide <topic>) to skip the picker and render it immediately. Passing an unknown topic prints an error and exits non-zero. Passing more than one argument is rejected by Cobra with an “accepts at most 1 arg” error.
Each cheatsheet ends with a deep-link back to the full web guide at laststep.github.io/Bonsai for longer-form reading.
Topics
Section titled “Topics”| Topic | What it covers |
|---|---|
quickstart | Post-install 5-step walkthrough — what to do after bonsai init |
concepts | The mental model — station, instruction stack, agents, sensors, routines, scaffolding |
cli | One section per command (init, add, remove, list, catalog, update, guide) |
custom-files | BONSAI frontmatter format, file naming, directory placement, examples |
This command has no flags.
Examples
Section titled “Examples”Open the interactive picker:
bonsai guide# ? Pick a guide# > Quickstart — 5-step post-install walkthrough# Concepts — the mental model# CLI — command-by-command reference# Custom Files — add your own abilitiesUse the arrow keys and press Enter to render the selected topic.
Render a topic directly:
bonsai guide quickstartbonsai guide conceptsbonsai guide clibonsai guide custom-filesUnknown topic:
bonsai guide foobar# Error: unknown topic "foobar". Available: quickstart, concepts, cli, custom-filesExits non-zero.
Pipe to a pager for long output:
bonsai guide custom-files | less -RThe -R flag preserves ANSI color codes when piping through less.
See Also
Section titled “See Also”bonsai update— detect and track custom files after creating them- Your First Workspace — the full quickstart guide on the web
- How Bonsai Works — the full concepts guide on the web
- Creating Custom Skills — detailed web guide for custom skills