CLI Reference

This page provides a complete reference for all the CLI and taste commands.


List of the main CLI commands and their description.

CommandDescriptionExample
cmdStart an interactive sessioncmd
loginAuthenticate your account accesscmd login
tasteManage taste learning packagescmd taste push
configManage CLI configurationcmd config set <key> <value>
logoutLog out from your accountcmd logout
whoamiDisplay current user informationcmd whoami
updateUpdate Command Code to the latest versioncmd update

List of the all taste commands and their description.

CommandDescriptionExample
npx taste pushPush taste profile to Command Code registrynpx taste push
npx taste pullPull taste profile from Command Code registrynpx taste pull
npx taste listList taste profilesnpx taste list
npx taste deleteDelete taste profilenpx taste delete
npx taste lintLint taste profilenpx taste lint
npx taste openOpen taste profile in editornpx taste open
npx taste helpShow taste helpnpx taste help
Info

npx cmd taste and npx taste are functionally the same, but we recommend using npx taste.


You can customise Command Code's CLI behaviour with the following flags.

FlagDescriptionExample
-v, --versionOutput the version numbercmd --version
-r, --resumeResume a conversationcmd --resume
-c, --continueContinue the last conversationcmd --continue
-t, --trustAuto-trust project (skip initial permission prompt)cmd --trust
-tL, --taste-learnEnable taste learningcmd --taste-learn
-crud, --crudEnable all CRUD permissionscmd --crud
-cru, --cruEnable Create, Read, Update (no Delete)cmd --cru
-c, --createEnable Create permissioncmd --create
-r, --readEnable Read permissioncmd --read
-u, --updateEnable Update permissioncmd --update
-d, --deleteEnable Delete permissioncmd --delete
-h, --helpDisplay help for Command Codecmd --help

  • Build something cool with Command Code and see your taste in action
  • Join our Discord community for feedback, requests, and support.