Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/cli/settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Show current settings
This is the contents of ~/.config/mise/config.toml

Note that aliases are also stored in this file
but managed separately with `mise aliases`
but managed separately with `mise tool-alias`

## Arguments

Expand Down
2 changes: 1 addition & 1 deletion docs/cli/settings/get.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Show a current setting
This is the contents of a single entry in ~/.config/mise/config.toml

Note that aliases are also stored in this file
but managed separately with `mise aliases get`
but managed separately with `mise tool-alias get`

## Arguments

Expand Down
2 changes: 1 addition & 1 deletion docs/cli/settings/ls.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Show current settings
This is the contents of ~/.config/mise/config.toml

Note that aliases are also stored in this file
but managed separately with `mise aliases`
but managed separately with `mise tool-alias`

## Arguments

Expand Down
6 changes: 3 additions & 3 deletions docs/mise.usage.kdl
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ For user config, aliases are defined like the following in `~/.config/mise/confi
lts = "20.0.0""#
after_long_help r"Examples:

$ mise aliases
$ mise tool-alias
node lts-hydrogen 20.0.0
"
flag "--no-header" help="Don't show table header"
Expand Down Expand Up @@ -871,7 +871,7 @@ cmd "settings" help="Manage settings" {
This is the contents of a single entry in ~/.config/mise/config.toml

Note that aliases are also stored in this file
but managed separately with `mise aliases get`"
but managed separately with `mise tool-alias get`"
after_long_help r"Examples:

$ mise settings get legacy_version_file
Expand All @@ -886,7 +886,7 @@ but managed separately with `mise aliases get`"
This is the contents of ~/.config/mise/config.toml

Note that aliases are also stored in this file
but managed separately with `mise aliases`"
but managed separately with `mise tool-alias`"
after_long_help r"Examples:

$ mise settings
Expand Down
6 changes: 3 additions & 3 deletions man/man1/mise.1
Original file line number Diff line number Diff line change
Expand Up @@ -1965,7 +1965,7 @@ Show current settings
This is the contents of ~/.config/mise/config.toml

Note that aliases are also stored in this file
but managed separately with `mise aliases`
but managed separately with `mise tool\-alias`
.PP
\fBUsage:\fR mise settings [OPTIONS] [<SETTING>] [<VALUE>] [COMMAND]
.PP
Expand Down Expand Up @@ -2024,7 +2024,7 @@ Show a current setting
This is the contents of a single entry in ~/.config/mise/config.toml

Note that aliases are also stored in this file
but managed separately with `mise aliases get`
but managed separately with `mise tool\-alias get`
.PP
\fBUsage:\fR mise settings get [OPTIONS] <SETTING>
.PP
Expand All @@ -2044,7 +2044,7 @@ Show current settings
This is the contents of ~/.config/mise/config.toml

Note that aliases are also stored in this file
but managed separately with `mise aliases`
but managed separately with `mise tool\-alias`
.PP
\fBUsage:\fR mise settings ls [OPTIONS] [<SETTING>]
.PP
Expand Down
6 changes: 3 additions & 3 deletions mise.usage.kdl
Original file line number Diff line number Diff line change
Expand Up @@ -773,7 +773,7 @@ cmd set help="Set environment variables in mise.toml" {
arg "[ENV_VAR]…" help="Environment variable(s) to set\ne.g.: NODE_ENV=production" required=#false var=#true
}
cmd settings help="Manage settings" {
long_help "Show current settings\n\nThis is the contents of ~/.config/mise/config.toml\n\nNote that aliases are also stored in this file\nbut managed separately with `mise aliases`"
long_help "Show current settings\n\nThis is the contents of ~/.config/mise/config.toml\n\nNote that aliases are also stored in this file\nbut managed separately with `mise tool-alias`"
after_long_help "Examples:\n # list all settings\n $ mise settings\n\n # get the value of the setting \"always_keep_download\"\n $ mise settings always_keep_download\n\n # set the value of the setting \"always_keep_download\" to \"true\"\n $ mise settings always_keep_download=true\n\n # set the value of the setting \"node.mirror_url\" to \"https://npm.taobao.org/mirrors/node\"\n $ mise settings node.mirror_url https://npm.taobao.org/mirrors/node\n"
flag "-a --all" help="List all settings"
flag "-J --json" help="Output in JSON format"
Expand All @@ -791,14 +791,14 @@ cmd settings help="Manage settings" {
arg <VALUE> help="The value to set"
}
cmd get help="Show a current setting" {
long_help "Show a current setting\n\nThis is the contents of a single entry in ~/.config/mise/config.toml\n\nNote that aliases are also stored in this file\nbut managed separately with `mise aliases get`"
long_help "Show a current setting\n\nThis is the contents of a single entry in ~/.config/mise/config.toml\n\nNote that aliases are also stored in this file\nbut managed separately with `mise tool-alias get`"
after_long_help "Examples:\n\n $ mise settings get idiomatic_version_file\n true\n"
flag "-l --local" help="Use the local config file instead of the global one"
arg <SETTING> help="The setting to show"
}
cmd ls help="Show current settings" {
alias list
long_help "Show current settings\n\nThis is the contents of ~/.config/mise/config.toml\n\nNote that aliases are also stored in this file\nbut managed separately with `mise aliases`"
long_help "Show current settings\n\nThis is the contents of ~/.config/mise/config.toml\n\nNote that aliases are also stored in this file\nbut managed separately with `mise tool-alias`"
after_long_help "Examples:\n\n $ mise settings ls\n idiomatic_version_file = false\n ...\n\n $ mise settings ls python\n default_packages_file = \"~/.default-python-packages\"\n ...\n"
flag "-a --all" help="List all settings"
flag "-J --json" help="Output in JSON format"
Expand Down
2 changes: 1 addition & 1 deletion src/cli/settings/get.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use eyre::bail;
/// This is the contents of a single entry in ~/.config/mise/config.toml
///
/// Note that aliases are also stored in this file
/// but managed separately with `mise aliases get`
/// but managed separately with `mise tool-alias get`
#[derive(Debug, clap::Args)]
#[clap(after_long_help = AFTER_LONG_HELP, verbatim_doc_comment)]
pub struct SettingsGet {
Expand Down
2 changes: 1 addition & 1 deletion src/cli/settings/ls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ use tabled::{Table, Tabled};
/// This is the contents of ~/.config/mise/config.toml
///
/// Note that aliases are also stored in this file
/// but managed separately with `mise aliases`
/// but managed separately with `mise tool-alias`
#[derive(Debug, clap::Args)]
#[clap(after_long_help = AFTER_LONG_HELP, verbatim_doc_comment)]
pub struct SettingsLs {
Expand Down
Loading