mise settings ls
- 用法:
mise settings ls [FLAGS] [SETTING] - 别名:
list - 作用: 只读
- 源代码:
src/cli/settings/ls.rs
列出已配置的设置及其来源
By default, lists the settings set in loaded TOML config files. --all also includes the effective value of every other setting. --local lists only the nearest project config, and --json-extended adds source information to JSON output. Use mise settings get SETTING for one effective value.
Arguments
[SETTING]— Only show this setting, or the settings under this prefix such aspython
Flags
-a --all— List all settings-J --json— Output in JSON format-l --local— Use only the nearest project configReads only its explicit settings, or writes to it instead of the global config.
-T --toml— Output in TOML format--json-extended— Output in JSON format with sources-h --help— Print help
示例
List settings set in config files
mise settings lsInclude settings left at their defaults
mise settings ls --allShow the python settings as JSON with their sources
mise settings ls python --json-extended