https://github.com/forloopcodes/termhunt-cli
https://github.com/forloopcodes/termhunt-cli
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/forloopcodes/termhunt-cli
- Owner: ForLoopCodes
- License: mit
- Created: 2025-07-19T22:06:45.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-07-19T23:45:35.000Z (5 months ago)
- Last Synced: 2025-07-20T00:56:11.164Z (5 months ago)
- Language: JavaScript
- Size: 119 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# termhunt-cli
A beautiful CLI tool for fetching and executing Makefile-like scripts from the [termhunt](https://termhunt.vercel.app) 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 `cd` commands and runs subsequent commands in the correct directory
- Beautiful, colored output with success and error indicators
## Installation
```sh
npm install -g termhunt-cli
```
## Usage
```sh
hunt
```
Example:
```sh
hunt test-termhunt
```
## How 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