flavortown-cli
v1.1.1
Published
A command-line interface for interacting with Hack Club Flavortown. This tool allows you to browse projects, view devlogs, and explore the store directly from your terminal.
Downloads
508
Readme
Flavortown CLI
A command-line interface for interacting with Hack Club Flavortown. This tool allows you to browse projects, view devlogs, and explore the store directly from your terminal.
Installation
Via NPM
Install the package globally using npm:
npm install -g @haumlab/flavortown-cliCompiled Releases
You can also download standalone executables for your platform from the GitHub Releases page.
- macOS:
flavortown-cli-macos - Linux:
flavortown-cli-linux - Windows:
flavortown-cli-win.exe
After downloading, you may need to make the file executable:
chmod +x flavortown-cli-macosSetup
Before using the CLI, you must configure your API key.
- Log in to Flavortown.
- Navigate to Settings.
- Generate and copy your API key.
- Run the setup command:
flavortown-cli setupFollow the interactive prompt to paste your key.
Commands
Projects
List and view details of Flavortown projects.
- List projects:
flavortown-cli projects list- Options:
--page <number>: Specify page number.--query <string>: Search projects by title or description.--sort <title|date>: Sort results (default: date).
- Options:
- Get project details:
flavortown-cli projects get <id>
Devlogs
Browse development logs for specific projects.
- List devlogs:
flavortown-cli devlogs list <projectId>- Options:
--page <number>: Specify page number.
- Options:
- Get devlog details:
flavortown-cli devlogs get <projectId> <id>
Store
Explore items available in the Flavortown store.
- List store items:
flavortown-cli store list- Options:
--sort <price-asc|price-desc|name>: Sort items (default: price-asc).--search <query>: Search items by name or description.--type <type>: Filter by item type.--no-group: Disable automatic grouping of accessories and upgrades.
- Options:
- Get item details:
flavortown-cli store get <id>
Features
Intelligent Grouping
The store list automatically groups accessories and upgrades under their parent items. For example, RAM upgrades and storage options will appear nested under the MacBook or Mac Mini they belong to.
Authentication Management
- Check status:
flavortown-cli whoamishows your current login status. - Logout:
flavortown-cli logoutclears your saved API key.
License
ISC
