feat(cli): add toolchain management command
This commit is contained in:
@@ -57,6 +57,7 @@ gitzone release
|
||||
| `format` | Plan or apply project formatting and standardization |
|
||||
| `config` | Inspect, update, and migrate `.smartconfig.json` |
|
||||
| `services` | Manage local MongoDB, MinIO, and Elasticsearch containers |
|
||||
| `tools` | Manage the global `@git.zone` toolchain |
|
||||
| `template` | Scaffold projects from built-in templates |
|
||||
| `meta` | Manage multi-repository workspaces |
|
||||
| `open` | Open repository assets like CI pages |
|
||||
@@ -67,6 +68,23 @@ gitzone release
|
||||
|
||||
Global flags include `--help`, `--json`, `--plain`, `--agent`, `--no-interactive`, and `--no-check-updates`.
|
||||
|
||||
## Toolchain Management
|
||||
|
||||
`gitzone tools` replaces the former `gtools` command from `@git.zone/tools`. It manages globally installed `@git.zone` development tools through pnpm.
|
||||
|
||||
```bash
|
||||
# Check installed @git.zone tools and update outdated packages
|
||||
gitzone tools update
|
||||
|
||||
# Update without prompts
|
||||
gitzone tools update -y
|
||||
|
||||
# Install missing managed @git.zone tools
|
||||
gitzone tools install
|
||||
```
|
||||
|
||||
`gitzone tools update` checks `@git.zone/cli` first. If the CLI itself needs an update, it updates `@git.zone/cli` and asks you to rerun the command before updating the rest of the toolchain.
|
||||
|
||||
## Commit Workflow
|
||||
|
||||
`gitzone commit` creates one semantic source commit. It does not bump versions, create tags, publish packages, or push Docker images.
|
||||
|
||||
Reference in New Issue
Block a user