-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
63 changed files
with
980 additions
and
416 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
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,8 +1,21 @@ | ||
# `mise alias` | ||
* Aliases: `a` | ||
|
||
#### Flags | ||
###### Aliases: `a` | ||
|
||
* `-p,--plugin <PLUGIN>` – filter aliases by plugin | ||
* `--no-header` – Don't show table header | ||
Manage aliases | ||
## Subcommands | ||
|
||
* `get [args]` - Show an alias for a plugin | ||
* `ls [args] [flags]` - List aliases | ||
Shows the aliases that can be specified. | ||
These can come from user config or from plugins in `bin/list-aliases`. | ||
* `set [args]` - Add/update an alias for a plugin | ||
* `unset [args]` - Clears an alias for a plugin | ||
|
||
##### Flag `-p --plugin <PLUGIN>` | ||
|
||
filter aliases by plugin | ||
|
||
##### Flag `--no-header` | ||
|
||
Don't show table header |
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,12 +1,15 @@ | ||
# `mise alias get` | ||
#### Args | ||
|
||
* `<PLUGIN>` – The plugin to show the alias for | ||
* `<ALIAS>` – The alias to show | ||
|
||
Show an alias for a plugin | ||
|
||
This is the contents of an alias.<PLUGIN> entry in ~/.config/mise/config.toml | ||
Examples: | ||
|
||
###### Arg `<PLUGIN>` | ||
|
||
(required)The plugin to show the alias for | ||
|
||
###### Arg `<ALIAS>` | ||
|
||
(required)The alias to showExamples: | ||
$ mise alias get node lts-hydrogen | ||
20.0.0 |
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,13 +1,20 @@ | ||
# `mise alias set` | ||
* Aliases: `add`, `create` | ||
#### Args | ||
|
||
* `<PLUGIN>` – The plugin to set the alias for | ||
* `<ALIAS>` – The alias to set | ||
* `<VALUE>` – The value to set the alias to | ||
###### Aliases: `add`, `create` | ||
|
||
Add/update an alias for a plugin | ||
|
||
This modifies the contents of ~/.config/mise/config.toml | ||
Examples: | ||
|
||
###### Arg `<PLUGIN>` | ||
|
||
(required)The plugin to set the alias for | ||
|
||
###### Arg `<ALIAS>` | ||
|
||
(required)The alias to set | ||
|
||
###### Arg `<VALUE>` | ||
|
||
(required)The value to set the alias toExamples: | ||
$ mise alias set node lts-hydrogen 18.0.0 |
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,12 +1,16 @@ | ||
# `mise alias unset` | ||
* Aliases: `rm`, `remove`, `delete`, `del` | ||
#### Args | ||
|
||
* `<PLUGIN>` – The plugin to remove the alias from | ||
* `<ALIAS>` – The alias to remove | ||
###### Aliases: `rm`, `remove`, `delete`, `del` | ||
|
||
Clears an alias for a plugin | ||
|
||
This modifies the contents of ~/.config/mise/config.toml | ||
Examples: | ||
|
||
###### Arg `<PLUGIN>` | ||
|
||
(required)The plugin to remove the alias from | ||
|
||
###### Arg `<ALIAS>` | ||
|
||
(required)The alias to removeExamples: | ||
$ mise alias unset node lts-hydrogen |
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,7 +1,9 @@ | ||
# `mise cache clear` | ||
* Aliases: `c` | ||
#### Args | ||
|
||
* `[PLUGIN]...` – Plugin(s) to clear cache for e.g.: node, python | ||
###### Aliases: `c` | ||
|
||
Deletes all cache files in mise | ||
|
||
###### Arg `[PLUGIN]...` | ||
|
||
Plugin(s) to clear cache for e.g.: node, python |
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,13 +1,14 @@ | ||
# `mise completion` | ||
#### Args | ||
|
||
* `[SHELL]` – Shell type to generate completions for | ||
Generate shell completions | ||
|
||
#### Flags | ||
###### Arg `[SHELL]` | ||
|
||
* `-s,--shell <SHELL_TYPE>` – Shell type to generate completions for | ||
Generate shell completions | ||
Examples: | ||
Shell type to generate completions for | ||
|
||
##### Flag `-s --shell <SHELL_TYPE>` | ||
|
||
Shell type to generate completions forExamples: | ||
$ mise completion bash > /etc/bash_completion.d/mise | ||
$ mise completion zsh > /usr/local/share/zsh/site-functions/_mise | ||
$ mise completion fish > ~/.config/fish/completions/mise.fish |
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,7 +1,13 @@ | ||
# `mise config` | ||
* Aliases: `cfg` | ||
|
||
#### Flags | ||
###### Aliases: `cfg` | ||
|
||
* `--no-header` – Do not print table header | ||
[experimental] Manage config files | ||
## Subcommands | ||
|
||
* `generate [flags]` - [experimental] Generate an .mise.toml file | ||
* `ls [flags]` - [experimental] List config files currently in use | ||
|
||
##### Flag `--no-header` | ||
|
||
Do not print table header |
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,10 +1,11 @@ | ||
# `mise config generate` | ||
* Aliases: `g` | ||
|
||
#### Flags | ||
###### Aliases: `g` | ||
|
||
* `-o,--output <OUTPUT>` – Output to file instead of stdout | ||
[experimental] Generate an .mise.toml file | ||
Examples: | ||
|
||
##### Flag `-o --output <OUTPUT>` | ||
|
||
Output to file instead of stdoutExamples: | ||
$ mise cf generate > .mise.toml | ||
$ mise cf generate --output=.mise.toml |
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,8 +1,8 @@ | ||
# `mise config ls` | ||
|
||
#### Flags | ||
|
||
* `--no-header` – Do not print table header | ||
[experimental] List config files currently in use | ||
Examples: | ||
|
||
##### Flag `--no-header` | ||
|
||
Do not print table headerExamples: | ||
$ mise config ls |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
# `mise doctor` | ||
|
||
Check mise installation for possible problems. | ||
Examples: | ||
###### Aliases: `dr` | ||
|
||
Check mise installation for possible problemsExamples: | ||
$ mise doctor | ||
[WARN] plugin node is not installed |
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
Oops, something went wrong.