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.
Install the package globally using npm:
npm install -g flavortown-cliYou 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-macosBefore 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.
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>
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>
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>
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.
- Check status:
flavortown-cli whoamishows your current login status. - Logout:
flavortown-cli logoutclears your saved API key.
ISC