CLI Reference
This page provides a complete reference for all the CLI and taste commands.
List of the main CLI commands and their description.
| Command | Description | Example |
|---|---|---|
cmd | Start an interactive session | cmd |
login | Authenticate your account access | cmd login |
taste | Manage taste learning packages | cmd taste push |
config | Manage CLI configuration | cmd config set <key> <value> |
logout | Log out from your account | cmd logout |
whoami | Display current user information | cmd whoami |
update | Update Command Code to the latest version | cmd update |
List of the all taste commands and their description.
| Command | Description | Example |
|---|---|---|
npx taste push | Push taste profile to Command Code registry | npx taste push |
npx taste pull | Pull taste profile from Command Code registry | npx taste pull |
npx taste list | List taste profiles | npx taste list |
npx taste delete | Delete taste profile | npx taste delete |
npx taste lint | Lint taste profile | npx taste lint |
npx taste open | Open taste profile in editor | npx taste open |
npx taste help | Show taste help | npx taste help |
You can customise Command Code's CLI behaviour with the following flags.
| Flag | Description | Example |
|---|---|---|
-v, --version | Output the version number | cmd --version |
-r, --resume | Resume a conversation | cmd --resume |
-c, --continue | Continue the last conversation | cmd --continue |
-t, --trust | Auto-trust project (skip initial permission prompt) | cmd --trust |
-tL, --taste-learn | Enable taste learning | cmd --taste-learn |
-crud, --crud | Enable all CRUD permissions | cmd --crud |
-cru, --cru | Enable Create, Read, Update (no Delete) | cmd --cru |
-c, --create | Enable Create permission | cmd --create |
-r, --read | Enable Read permission | cmd --read |
-u, --update | Enable Update permission | cmd --update |
-d, --delete | Enable Delete permission | cmd --delete |
-h, --help | Display help for Command Code | cmd --help |
- Build something cool with Command Code and see your taste in action
- Join our Discord community for feedback, requests, and support.