taste lint
Validate taste file format and structure. This command checks your taste files for errors and warnings before pushing.
Basic usage
| Argument | Description |
|---|---|
[package] | Package name to lint. Optional if using --all. |
| Option | Short | Description |
|---|---|---|
--global | -g | Lint packages from global (~/.commandcode/taste) |
--all | Lint all packages |
Lint a specific package
Lint single package
Validates the cli taste package in your local project.
Lint all local packages
Lint all local
Validates all taste packages in your local project's .commandcode/taste directory.
Lint from global
Lint global
Validates the cli package from your global.
Lint all from global
Lint all global
Validates all packages in your global at ~/.commandcode/taste.
The command provides detailed validation results:
Example output (valid)
Example output (with errors)
| Check | Description |
|---|---|
| Markdown structure | Proper header hierarchy and formatting |
| Required fields | Presence of required metadata and sections |
| Confidence values | Values must be between 0 and 1 |
| Header format | Correct header syntax and naming |
| File encoding | Valid UTF-8 encoding |
- Validates both main
taste.mdand category-specific taste files - Supports automatic header migration for legacy format files
- Errors indicate problems that must be fixed before pushing
- Warnings indicate potential issues but don't block operations
- Fix any errors reported by the linter
- Use
taste pushto upload validated packages - Use
taste opento edit packages with errors