Getting Started

Welcome to FlavorCLI! The following page provides instructions on how to get started using flavortown! If you haven't done so yet, please follow the Installation Instructions. Once you have installed your copy of FlavorCLI, come back here so we can get you started.

Great! So you've installed FlavorCLI, what next? The first thing you need to do is open your terminal of choice. Once you have done so, simply type in flavor and hit enter. Here you'll see all the commands you can use with FlavorCLI, along with their options. I've included documentation everywhere I can here, using the --help option, but if you still need help, you can check out the other pages of the docs here.

circle-exclamation
An image of the terminal print of the base usage

If you want to understand a bit more about how commands work, take a look at Commands Basics

Getting your API Key

Now, before going any further, we need to get our API key to allow FlavorCLI to interact with Flavortown on your behalf. To do this, follow these steps:

  1. Head over to https://flavortown.hackclub.com/

  2. Click the gear icon near your name in the sidebar

Press the gear icon next to log our and cookies in the sidebar
  1. Scroll down on that menu and copy your API key.

Copy your API key in the settings modal
triangle-exclamation

Adding your token to FlavorCLI

Adding your token to FlavorCLI is very simple. All you have to do is run flavor auth set <TOKEN>, with <TOKEN> being replaced with your actual token. You may delete your token from FlavorCLI at any time with flavor auth delete.

circle-check

Next Steps

Congratulations! You have now fully installed and set up FlavorCLI! From here, you may check out instructions on how commands work, or check out instructions on individual commands. If you ever find yourself stuck, feel free to check out these docs or use the --help option.

Last updated