Skip to content

Commit

Permalink
Commit from GitHub Actions (test)
Browse files Browse the repository at this point in the history
  • Loading branch information
mise-en-dev committed Oct 18, 2024
1 parent 34eb3a0 commit be7a063
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 5 deletions.
8 changes: 6 additions & 2 deletions docs/cli/config.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# `mise config`

**Usage**: `mise config [--no-header] <SUBCOMMAND>`
**Usage**: `mise config [--no-header] [-J --json] <SUBCOMMAND>`

**Aliases**: `cfg`

Expand All @@ -12,9 +12,13 @@ Manage config files

Do not print table header

### `-J --json`

Output in JSON format

## Subcommands

* [`mise config generate [-o --output <OUTPUT>]`](/cli/config/generate.md)
* [`mise config get [-f --file <FILE>] [KEY]`](/cli/config/get.md)
* [`mise config ls [--no-header]`](/cli/config/ls.md)
* [`mise config ls [--no-header] [-J --json]`](/cli/config/ls.md)
* [`mise config set [-f --file <FILE>] [-t --type <TYPE>] <KEY> <VALUE>`](/cli/config/set.md)
6 changes: 5 additions & 1 deletion docs/cli/config/ls.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# `mise config ls`

**Usage**: `mise config ls [--no-header]`
**Usage**: `mise config ls [--no-header] [-J --json]`

List config files currently in use

Expand All @@ -10,6 +10,10 @@ List config files currently in use

Do not print table header

### `-J --json`

Output in JSON format

Examples:

mise config ls
4 changes: 2 additions & 2 deletions docs/cli/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ Answer yes to all confirmation prompts
* [`mise cache clear [PLUGIN]...`](/cli/cache/clear.md)
* [`mise cache prune [--dry-run] [-v --verbose...] [PLUGIN]...`](/cli/cache/prune.md)
* [`mise completion [SHELL]`](/cli/completion.md)
* [`mise config [--no-header] <SUBCOMMAND>`](/cli/config.md)
* [`mise config [--no-header] [-J --json] <SUBCOMMAND>`](/cli/config.md)
* [`mise config generate [-o --output <OUTPUT>]`](/cli/config/generate.md)
* [`mise config get [-f --file <FILE>] [KEY]`](/cli/config/get.md)
* [`mise config ls [--no-header]`](/cli/config/ls.md)
* [`mise config ls [--no-header] [-J --json]`](/cli/config/ls.md)
* [`mise config set [-f --file <FILE>] [-t --type <TYPE>] <KEY> <VALUE>`](/cli/config/set.md)
* [`mise current [PLUGIN]`](/cli/current.md)
* [`mise deactivate`](/cli/deactivate.md)
Expand Down
2 changes: 2 additions & 0 deletions mise.usage.kdl
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ cmd "config" help="Manage config files" {
alias "cfg"
alias "toml" hide=true
flag "--no-header" help="Do not print table header"
flag "-J --json" help="Output in JSON format"
cmd "generate" help="[experimental] Generate a mise.toml file" {
alias "g"
after_long_help r"Examples:
Expand Down Expand Up @@ -215,6 +216,7 @@ cmd "config" help="Manage config files" {
$ mise config ls
"
flag "--no-header" help="Do not print table header"
flag "-J --json" help="Output in JSON format"
}
cmd "set" help="Display the value of a setting in a mise.toml file" {
after_long_help r"Examples:
Expand Down

0 comments on commit be7a063

Please sign in to comment.