-
Notifications
You must be signed in to change notification settings - Fork 351
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: added --type option to
toml set
(#2674)
Fixes #2668
- Loading branch information
Showing
20 changed files
with
334 additions
and
305 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
## `mise config set [OPTIONS] <KEY> <VALUE>` | ||
|
||
```text | ||
Display the value of a setting in a mise.toml file | ||
Usage: config set [OPTIONS] <KEY> <VALUE> | ||
Arguments: | ||
<KEY> | ||
The path of the config to display | ||
<VALUE> | ||
The value to set the key to | ||
Options: | ||
-f, --file <FILE> | ||
The path to the mise.toml file to edit | ||
If not provided, the nearest mise.toml file will be used | ||
-t, --type <TYPE> | ||
[default: string] | ||
[possible values: string, integer, float, bool] | ||
Examples: | ||
$ mise config set tools.python 3.12 | ||
$ mise config set settings.always_keep_download true | ||
$ mise config set env.TEST_ENV_VAR ABC | ||
``` |
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 was deleted.
Oops, something went wrong.
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.