Tools / toha / Getting started
Getting started
Install Toha with Homebrew:
brew install wyrd-company/tools/toha
Other package managers and release archives are listed in the README.
The demo template is a small local template. From the repository root, run:
toha apply ./docs/examples/demo ./notes
Answer Note title and Topic. Toha writes notes/note.txt. Preview the
same operation without writing files:
toha apply ./docs/examples/demo ./preview --dry-run
Toha leaves existing files unchanged unless you pass --force. A template with
hooks needs trust before the hooks can run. For a template you know, --trust
allows hooks for one run; an installed trusted template keeps that choice in the
user registry. Without trust, Toha prints a dry run and exits with code 3. See
the
CLI specification
for the full contract.