termhunt-cli
v1.0.3
Published
CLI for fetching and executing Makefiles from terminal-hunt app
Readme
termhunt-cli
A beautiful CLI tool for fetching and executing Makefile-like scripts from the termhunt app. Supports colored output, ticks/crosses, and multi-step commands with directory changes.
Features
- Fetches commands from the termhunt API
- Executes multi-line scripts step-by-step
- Handles
cdcommands and runs subsequent commands in the correct directory - Beautiful, colored output with success and error indicators
Installation
npm install -g termhunt-cliUsage
hunt <app-identifier>Example:
hunt test-termhuntHow it works
- Fetches a script from the API for the given app identifier
- Prints each command before running it
- Handles directory changes (
cd ...) so subsequent commands run in the right place - Shows ticks (✔) for success and crosses (✖) for errors
Requirements
- Node.js v18 or newer
License
MIT
