taste push
Push taste packages from your local project to remote or global.
Basic usage
npx taste push [package] [options]
| Option | Short | Description |
|---|---|---|
--all | Push entire project taste (all packages bundled together) | |
--global | -g | Push to global (~/.commandcode/taste) |
--overwrite | Replace target completely without merging | |
--public | Make package publicly discoverable (remote only) |
You can either push your entire project taste or individual packages.
Push Project Taste (--all)
When you use push --all, Command Code pushes your entire project's taste as a single unit:
Push project taste
npx taste push --all
- Bundles all packages from your project together
- Project name is derived from your current directory
- Pushed to remote under your namespace
Push Individual Package
When you push a specific package, only that single package is uploaded:
Push to remote
# Interactive namespace selection
npx taste push cli
# Explicit namespace
npx taste push myorg/cli
Push to global
npx taste push cli -g
- Pushes one package at a time
- If you have push access to multiple accounts, you get prompted
Remote (default)
Pushes to cloud under your profile at commandcode.ai.
- Path:
commandcode.ai/username/taste - Use case: Team sharing, backup, sync across machines, public packages
Push to remote
# Push project taste
npx taste push --all
# Push individual package
npx taste push cli
npx taste push myorg/cli
Global (-g)
Pushes to your global packages accessible across all projects on your machine.
- Path:
~/.commandcode/taste/ - Use case: Your personal taste that follows you across projects
Push to global
npx taste push cli -g
Push entire project to remote
Push project
npx taste push --all
Bundles all your project's taste packages and uploads them to commandcode.ai/username/taste. Your team can then pull with npx taste pull username/project-name.
Push individual package to remote
Push individual
npx taste push cli
Prompts you to select a namespace (personal or organization), then uploads only the cli package.
Push with explicit namespace
Push with namespace
npx taste push myteam/cli
Uploads the cli package directly to the myteam namespace without prompting.
Push to global
Push to global
npx taste push cli -g
Saves the cli package to ~/.commandcode/taste/cli/ for use in any project on your machine.
Push and make public
Push public
npx taste push cli --public
Uploads the package and makes it publicly discoverable by other Command Code users.
Overwrite without merging
Overwrite
npx taste push cli --overwrite
Completely replaces the remote package without merging. By default, push intelligently merges learnings.
By default, taste push intelligently merges your local learnings with existing remote/global content:
- New learnings are added
- Updated learnings (changed confidence) are updated
- Identical learnings remain unchanged
Use --overwrite to skip merging and completely replace the target.
Example output
✓ Pushed project taste to commandcode.ai/aa/taste (3 packages, 15 learnings)
Individual package output
✓ Pushed 'cli' to commandcode.ai/aa/taste (2 learnings added, 1 updated, 3 unchanged)
- Use
taste pullto download packages - Use
taste listto view available packages - View your packages in Command Code Studio