Skip to content

Commit

Permalink
internal: Rework clean command. (#679)
Browse files Browse the repository at this point in the history
  • Loading branch information
milesj authored Dec 19, 2024
1 parent 6007bf6 commit 70e6dcc
Show file tree
Hide file tree
Showing 5 changed files with 259 additions and 144 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,14 @@
- Removed the `proto list` and `proto list-remote` commands, use `proto versions` instead.
- Removed the `--global` option from `proto alias`, `unalias`, `pin`, and `unpin`, use `--to` or `--from` instead.
- Removed the `--purge` option from `proto clean`, use `proto uninstall` instead.
- Removed the `--purge-plugins` option from `proto clean`, use `proto clean plugins` instead.

#### 🚀 Updates

- Added a `--yes` option to `proto outdated`, that skips confirmation prompts.
- Added a `--json` option to `proto clean`, to capture the cleaned result as JSON.
- Added a new command, `proto versions <tool>`, that lists all available remote and installed versions/aliases.
- Updated `proto clean` to accept a target in which to clean as the 1st argument. For example, `proto clean cache`.

## 0.43.3

Expand Down
Loading

0 comments on commit 70e6dcc

Please sign in to comment.