1d04649cbf7dd51cb95cf3ce4f8249d4ff8eb341
🚀 SHSF CLI
A powerful command-line interface for managing and interacting with your SHSF instance. Built with TypeScript and designed for developers, it provides a seamless experience to perform health checks, run tests, and more—all from your terminal.
🚦 Getting Started
📋 Prerequisites
- Node.js (v22+)
- pnpm (preferred)
📦 Installation
To install SHSF CLI globally on your system:
pnpm add -g shsf-cli
or
npm install -g shsf-cli
Once installed, simply type:
shsf health
and it will ask you for your SHSF instance URL and API token to perform a health check.
🛠️ Usage & Commands
🩺 Health Check
Quickly see if the system is up and running:
shsf health
🏗️ Local Development
If you're contributing or running from source:
-
Setup:
git clone https://github.com/Space-Banane/shsf-cli.git cd shsf-cli pnpm install -
Run:
pnpm build # Build the project pnpm start [cmd] # Run a command directly
🤝 Contributing
We love builders! To add a new command:
- Create a
.tsfile insrc/commands/. - Export a definition object:
export const myCommand = { name: "run-test", description: "Explanation of what it does", action: async () => { ... } }; - Run
pnpm buildand test it withshsf run-test.
📄 License
Licensed under the MIT-0 License. Happy coding! 🍌
Description