-
Notifications
You must be signed in to change notification settings - Fork 323
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: accept argument for
mise registry
(#2841)
- Loading branch information
Showing
8 changed files
with
47 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,25 @@ | ||
# `mise registry` | ||
|
||
**Usage**: `mise registry` | ||
**Usage**: `mise registry [NAME]` | ||
|
||
[experimental] List available tools to install | ||
List available tools to install | ||
|
||
This command lists the tools available in the registry as shorthand names. | ||
|
||
For example, `poetry` is shorthand for `asdf:mise-plugins/mise-poetry`. | ||
|
||
## Arguments | ||
|
||
### `[NAME]` | ||
|
||
Show only the specified tool's full name | ||
|
||
Examples: | ||
|
||
$ mise registry | ||
node core:node | ||
poetry asdf:mise-plugins/mise-poetry | ||
ubi cargo:ubi-cli | ||
|
||
$ mise registry poetry | ||
asdf:mise-plugins/mise-poetry |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/usr/bin/env bash | ||
|
||
assert "mise registry gh" "ubi:cli/cli[exe=gh]" | ||
assert_contains "mise registry" "gh ubi:cli/cli[exe=gh]" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters