@jhzhuo/aht-cli
v0.4.2
Published
CLI for Adjust Heading in Tree
Readme
AHT CLI
AHT CLI is the terminal companion for Adjust Heading in Tree.
It lets you inspect and edit Markdown or Typst heading trees without opening the VS Code UI.
Install
Install from npm:
npm install -g @jhzhuo/aht-cliFor local development inside this repository:
npm install
npm link --workspace packages/aht-cliCommon commands
aht list --file note.md --json
aht normalize --file note.md
aht tags set --file note.md --selector 'text:Alpha' --tags Review --write
aht move --file note.md --selector 'text:Gamma' --before 'text:Alpha' --writeHomebrew
Homebrew support is generated from the published npm tarball. After publishing a new version, run:
npm run brew:formulaThe script writes a formula file to packaging/homebrew/aht-cli.rb.
