0 / 2 embers
0 / 3000 xp
click for more info
Complete a lesson to start your streak
click for more info
Difficulty: 7
click for more info
No active XP Potion
Accept a Quest
Login to submit answers
As you debug and build your AI agent, you'll probably want to dump a lot more context into the console... but at the same time, we don't want to make the user experience of our CLI tool too noisy...
Let's add an optional command line flag, --verbose
, that will allow us to toggle "verbose" output on and off. When we want to see more info, we'll just turn that bad boy on.
uv run main.py "What is the meaning of life?" --verbose
Otherwise, it should not print those things.
Run and submit the CLI tests.
The Boot.dev CLI requires you to be signed in to submit your solution!
Copy/paste one of the following commands into your terminal:
Run
bootdev run 7a603e06-4517-4842-9a19-4f4b65adb410
Submit
bootdev run 7a603e06-4517-4842-9a19-4f4b65adb410 -s
Run the CLI commands to test your solution.
Login to view solution
Using the Bootdev CLI
The Bootdev CLI is the only way to submit your solution for this type of lesson. We need to be able to run commands in your environment to verify your solution.
You can install it here. It's a Go program hosted on GitHub, so you'll need Go installed as well. Instructions are on the GitHub page.