From 2c0259b72584344fb3692655333e14fc6571cb12 Mon Sep 17 00:00:00 2001 From: Sava Znatnov Date: Sat, 10 Oct 2026 20:45:33 +0700 Subject: [PATCH] feat(cli): `-o csv`, `-o markdown` and `-o ndjson` print a table or one item on a line MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit A table has the columns the model declares, so the header is the same whatever the reply holds: a nested object becomes `status.key` columns, a list stays one cell of JSON text, a result that is one object is a table of one row. An empty listing prints its header too: the command's declared return type travels beside the result (`Declared`), read where the type hints of a command are already read. `ndjson` prints the items alone; where a listing stopped is said on stderr. `csv` is UTF-8 with no byte order mark, lines end with a line feed, cells are the service's text as it came. ARCH-4 changes with its check in this commit: `csv.writer` and `csv.DictWriter` are serializers only `output.py` may call. Decisions of #561 (Р3-А, Р4-А, Р5-Б, Р12-А, Р13, Р14-А). Co-Authored-By: Claude Opus 5.5 --- .rulesync/rules/overview.md | 2 +- AGENTS.md | 2 +- ARCHITECTURE.md | 3 +- CLAUDE.md | 2 +- README.md | 2 +- README.ru.md | 2 +- docs/en/how-to/script-the-cli.md | 18 +- docs/en/reference/cli/auth.md | 6 +- docs/en/reference/cli/datalens.md | 270 ++++++++-------- docs/en/reference/cli/forms.md | 166 +++++----- docs/en/reference/cli/index.md | 2 +- docs/en/reference/cli/mcp.md | 4 +- docs/en/reference/cli/sync.md | 12 +- docs/en/reference/cli/tracker.md | 380 +++++++++++------------ docs/en/reference/cli/wiki.md | 120 +++---- docs/ru/how-to/script-the-cli.md | 18 +- src/ycli/cli/formats.py | 3 + src/ycli/cli/inject.py | 6 +- src/ycli/cli/output.py | 222 ++++++++++++- tests/architecture/test_arch4.py | 8 +- tests/contract/test_output_formats.py | 152 +++++++++ tests/unit/cli/test_output_strategies.py | 136 +++++++- tests/unit/cli/test_render.py | 26 +- 23 files changed, 1054 insertions(+), 508 deletions(-) create mode 100644 tests/contract/test_output_formats.py diff --git a/.rulesync/rules/overview.md b/.rulesync/rules/overview.md index 63f3aa38d..256f48c36 100644 --- a/.rulesync/rules/overview.md +++ b/.rulesync/rules/overview.md @@ -27,7 +27,7 @@ Claude Code **plugin** under `plugins/yandex-360/`. Published on PyPI as `yandex plugin (skills + instructions) lives in `plugins/yandex-360/`, listed by the repo-root `.claude-plugin/marketplace.json`. - **Output:** every CLI command honors a global `--format/-o` flag (`auto` · `json` · `yaml` - · `pretty`); no output surface hardcodes a service UI URL, and a general per-model deeplink + · `pretty` · `csv` · `markdown` · `ndjson`); no output surface hardcodes a service UI URL, and a general per-model deeplink mechanism is deferred. Serialization confinement (ARCH-4), single sources of truth (ARCH-5) and MCP read/write annotation honesty with `ycli mcp start --read-only` (ARCH-3) are specified and enforced in [`ARCHITECTURE.md`](ARCHITECTURE.md); read them there. diff --git a/AGENTS.md b/AGENTS.md index 53a3fbbc0..fe3ef9ea2 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -20,7 +20,7 @@ Claude Code **plugin** under `plugins/yandex-360/`. Published on PyPI as `yandex plugin (skills + instructions) lives in `plugins/yandex-360/`, listed by the repo-root `.claude-plugin/marketplace.json`. - **Output:** every CLI command honors a global `--format/-o` flag (`auto` · `json` · `yaml` - · `pretty`); no output surface hardcodes a service UI URL, and a general per-model deeplink + · `pretty` · `csv` · `markdown` · `ndjson`); no output surface hardcodes a service UI URL, and a general per-model deeplink mechanism is deferred. Serialization confinement (ARCH-4), single sources of truth (ARCH-5) and MCP read/write annotation honesty with `ycli mcp start --read-only` (ARCH-3) are specified and enforced in [`ARCHITECTURE.md`](ARCHITECTURE.md); read them there. diff --git a/ARCHITECTURE.md b/ARCHITECTURE.md index 770b10a0b..4298acf54 100644 --- a/ARCHITECTURE.md +++ b/ARCHITECTURE.md @@ -167,7 +167,8 @@ program stays a test. resolved: no `print` in any spelling — `builtins.print`, `rich.print`, `pprint` — no stdout `Console`, `typer.echo` without `err=True`, `sys.stdout`/`sys.__stdout__` or `os.write`) and `test_arch4_serialization_confined_to_output` (AST: `json.dumps`, `yaml.safe_dump`, - `pydantic_core.to_json`, `.model_dump_json()` and their aliases), each with a bite test. + `pydantic_core.to_json`, `csv.writer`, `csv.DictWriter`, `.model_dump_json()` and their + aliases), each with a bite test. - **Exceptions:** `ARCH4_SERIALIZATION_HOMES` (`log.py` formats stderr log records with `json.dumps`; the file engine writes a file of a repository in `sync/formats.py` and takes a fingerprint from a canonical form in `sync/document.py`, neither a result of a command; `core/continuation.py` packs where a listing stopped into the token that goes on from there) and `# violation(arch-4): ` above a line that touches stdout (the eager diff --git a/CLAUDE.md b/CLAUDE.md index 53a3fbbc0..fe3ef9ea2 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -20,7 +20,7 @@ Claude Code **plugin** under `plugins/yandex-360/`. Published on PyPI as `yandex plugin (skills + instructions) lives in `plugins/yandex-360/`, listed by the repo-root `.claude-plugin/marketplace.json`. - **Output:** every CLI command honors a global `--format/-o` flag (`auto` · `json` · `yaml` - · `pretty`); no output surface hardcodes a service UI URL, and a general per-model deeplink + · `pretty` · `csv` · `markdown` · `ndjson`); no output surface hardcodes a service UI URL, and a general per-model deeplink mechanism is deferred. Serialization confinement (ARCH-4), single sources of truth (ARCH-5) and MCP read/write annotation honesty with `ycli mcp start --read-only` (ARCH-3) are specified and enforced in [`ARCHITECTURE.md`](ARCHITECTURE.md); read them there. diff --git a/README.md b/README.md index 7fb9f603d..e4cc0e05b 100644 --- a/README.md +++ b/README.md @@ -73,7 +73,7 @@ Something not working? [If it does not work](https://ycli.savaznatnov.dev/how-to ```bash ycli tracker issues get TRACKER-1 # a table at a terminal ycli tracker issues get TRACKER-1 | jq .summary # JSON when piped -ycli -o yaml wiki pages get onboarding # or pick: -o json | yaml | pretty +ycli -o yaml wiki pages get onboarding # or pick: -o json | yaml | pretty | csv | markdown | ndjson ycli tracker boards delete 7 --dry-run # print the request a write would send ycli tracker boards delete 7 --yes # a delete asks first; --yes answers ycli api issues/TRACKER-1 --service tracker # an endpoint ycli does not wrap diff --git a/README.ru.md b/README.ru.md index 91ac32c31..3325e7cf3 100644 --- a/README.ru.md +++ b/README.ru.md @@ -72,7 +72,7 @@ pipx install 'yandex-cli[mcp]' # или через pipx ```bash ycli tracker issues get TRACKER-1 # таблица в терминале ycli tracker issues get TRACKER-1 | jq .summary # JSON при передаче по конвейеру -ycli -o yaml wiki pages get onboarding # или выберите: -o json | yaml | pretty +ycli -o yaml wiki pages get onboarding # или выберите: -o json | yaml | pretty | csv | markdown | ndjson ycli tracker boards delete 7 --dry-run # напечатать запрос, который отправила бы запись ycli tracker boards delete 7 --yes # удаление сначала спрашивает; --yes отвечает ycli api issues/TRACKER-1 --service tracker # эндпоинт, который ycli не оборачивает diff --git a/docs/en/how-to/script-the-cli.md b/docs/en/how-to/script-the-cli.md index c8edbdcce..8873dd7c3 100644 --- a/docs/en/how-to/script-the-cli.md +++ b/docs/en/how-to/script-the-cli.md @@ -7,7 +7,7 @@ type: how-to ## Get JSON -At a terminal ycli prints tables; piped, it prints JSON. Force a format with the global `--format` / `-o` (`auto`, `json`, `yaml`, `pretty`), before or after the command: +At a terminal ycli prints tables; piped, it prints JSON. Force a format with the global `--format` / `-o` (`auto`, `json`, `yaml`, `pretty`, `csv`, `markdown`, `ndjson`), before or after the command: ```bash ycli tracker issues get TRACKER-1 | jq . # JSON, because the output is piped @@ -28,6 +28,22 @@ ycli tracker issues search 'Queue: TEST' -o json | jq -r '.items[].key' `-o json` makes the format explicit; without it a pipe gets JSON anyway. +## Get a table or one item on a line + +`-o csv` and `-o markdown` print a table, `-o ndjson` prints one item on a line: + +```bash +ycli tracker issues search 'Queue: TEST' -o csv > issues.csv +ycli tracker queues list -o markdown >> report.md +ycli tracker issues search 'Queue: TEST' -o ndjson | jq -r .key +``` + +- The columns are the fields ycli knows for that kind of object, the same whatever the reply holds. A field the service added since has no column; `-o json` prints it. +- A nested object becomes columns named through a dot (`status.key`); a list stays one cell, as JSON text. +- A command that answers with one object prints a table of one row, or one line. +- `csv` is UTF-8 with no byte order mark, its lines end with a line feed alone, and a cell is the service's text as it came. A spreadsheet reads a cell that starts with `=` as a formula, so open a file of someone else's text with that in mind. +- Where a listing stopped is said on stderr, as with `-o pretty`: stdout holds the rows alone. + ## Take a long listing in pieces A listing stops at 500 items unless told otherwise. `--limit N` takes the first N, `--all` takes everything, and `--next` goes on from where a run stopped. `-o json` and `-o yaml` print what the MCP tool and the SDK give: `{items, truncated, next, total}`, so a script takes the token with `jq -r .next`. A table (`-o pretty`) prints the rows, and where it stopped goes to stderr, ready to paste. The line says that the run stopped at its limit, not that more is left: only the next run can tell, and it may give nothing. diff --git a/docs/en/reference/cli/auth.md b/docs/en/reference/cli/auth.md index c10ffb114..a921984d4 100644 --- a/docs/en/reference/cli/auth.md +++ b/docs/en/reference/cli/auth.md @@ -41,7 +41,7 @@ $ ycli auth status [OPTIONS] **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -71,7 +71,7 @@ $ ycli auth login [OPTIONS] * `--implicit`: Use the browser paste flow even if a client secret is set. * `-y, --yes`: Write .env without asking to confirm. * `--device-name TEXT`: Label shown for this device during OAuth approval. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. * `-F, --field TEXT`: Set any field of the request body: key=value, key[sub]=value for a nested one (JSON-coerced; repeatable). key=@FILE (@- for stdin) gives the file's text as it is; a string that starts with @ goes in JSON quotes ('text="@ivan"'). A flag of the command wins over it. Objects merge; a list replaces the one below it. Give a secret from a file, not typed here: a command line stays in the shell history. Write that file with no line break at its end (printf %s 'secret' > file), or the break goes out with the secret. @@ -93,7 +93,7 @@ $ ycli auth profiles [OPTIONS] **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. diff --git a/docs/en/reference/cli/datalens.md b/docs/en/reference/cli/datalens.md index cec73c8f6..3b28b873a 100644 --- a/docs/en/reference/cli/datalens.md +++ b/docs/en/reference/cli/datalens.md @@ -81,7 +81,7 @@ $ ycli datalens auth status [OPTIONS] **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -119,7 +119,7 @@ $ ycli datalens tenant details-get [OPTIONS] **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -174,7 +174,7 @@ $ ycli datalens collections get [OPTIONS] COLLECTION_ID **Options**: * `--include-permissions-info / --no-include-permissions-info`: Also say what you may do with it. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -198,7 +198,7 @@ $ ycli datalens collections list-by-ids [OPTIONS] COLLECTION_ID... **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -231,7 +231,7 @@ $ ycli datalens collections content-list [OPTIONS] [COLLECTION_ID] * `--only-my / --no-only-my`: Keep only what you created. * `--mode TEXT`: Which kinds of items to list. Known values: all, onlyCollections, onlyWorkbooks, onlyEntries. * `--include-permissions-info / --no-include-permissions-info`: Also say what you may do with it. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -256,7 +256,7 @@ $ ycli datalens collections breadcrumbs-list [OPTIONS] COLLECTION_ID **Options**: * `--include-permissions-info / --no-include-permissions-info`: Also say what you may do with it. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -276,7 +276,7 @@ $ ycli datalens collections permissions-get-root [OPTIONS] **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -304,7 +304,7 @@ $ ycli datalens collections access-bindings-list [OPTIONS] COLLECTION_ID * `--all`: Fetch everything, ignoring the cap. * `--next TOKEN`: Go on from where an earlier run stopped, with the token it printed: the token carries its listing; give what is required again, and nothing else but the limit. * `--get-inherited-bindings / --no-get-inherited-bindings`: Also list the inherited roles. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -327,7 +327,7 @@ $ ycli datalens collections create [OPTIONS] * `--title TEXT`: Title of the collection. [required] * `--parent-id TEXT`: The collection to put it in; the root when left out. * `--description TEXT`: Description of the collection. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -353,7 +353,7 @@ $ ycli datalens collections update [OPTIONS] COLLECTION_ID * `--title TEXT`: New title. * `--description TEXT`: New description. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -379,7 +379,7 @@ $ ycli datalens collections move [OPTIONS] COLLECTION_ID * `--parent-id TEXT`: The collection to put it in; the root when left out. * `--title TEXT`: New title to give it on the way. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -404,7 +404,7 @@ $ ycli datalens collections move-bulk [OPTIONS] COLLECTION_ID... **Options**: * `--parent-id TEXT`: The collection to put it in; the root when left out. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -428,7 +428,7 @@ $ ycli datalens collections delete [OPTIONS] COLLECTION_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -452,7 +452,7 @@ $ ycli datalens collections delete-bulk [OPTIONS] COLLECTION_ID... **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -477,7 +477,7 @@ $ ycli datalens collections access-bindings-update [OPTIONS] COLLECTION_ID **Options**: * `--delta TEXT`: A role to add or remove, as a JSON object of the API docs: {"action": "ADD", "accessBinding": {"roleId": ..., "subject": {"id": ..., "type": ...}}} (repeatable). [required] -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -531,7 +531,7 @@ $ ycli datalens workbooks get [OPTIONS] WORKBOOK_ID **Options**: * `--include-permissions-info / --no-include-permissions-info`: Also say what you may do with it. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -560,7 +560,7 @@ $ ycli datalens workbooks list [OPTIONS] * `--order-direction TEXT`: Sort direction. Known values: asc, desc. * `--only-my / --no-only-my`: Keep only what you created. * `--include-permissions-info / --no-include-permissions-info`: Also say what you may do with it. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -584,7 +584,7 @@ $ ycli datalens workbooks list-by-ids [OPTIONS] WORKBOOK_ID... **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -612,7 +612,7 @@ $ ycli datalens workbooks access-bindings-list [OPTIONS] WORKBOOK_ID * `--all`: Fetch everything, ignoring the cap. * `--next TOKEN`: Go on from where an earlier run stopped, with the token it printed: the token carries its listing; give what is required again, and nothing else but the limit. * `--get-inherited-bindings / --no-get-inherited-bindings`: Also list the inherited roles. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -645,7 +645,7 @@ $ ycli datalens workbooks entries-list [OPTIONS] WORKBOOK_ID * `--scope TEXT`: Keep only this kind of entry (repeatable). Known values: dash, report, widget, dataset, folder, connection, compute, artifact, sql_query. * `--order-by TEXT`: What to sort by, as a JSON object: {"field": "name", "direction": "asc"}. * `--filters TEXT`: A filter, as a JSON object: {"name": "sales"}. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -668,7 +668,7 @@ $ ycli datalens workbooks create [OPTIONS] * `--title TEXT`: Title of the workbook. [required] * `--collection-id TEXT`: The collection to put it in; the root when left out. * `--description TEXT`: Description of the workbook. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -694,7 +694,7 @@ $ ycli datalens workbooks update [OPTIONS] WORKBOOK_ID * `--title TEXT`: New title. * `--description TEXT`: New description. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -720,7 +720,7 @@ $ ycli datalens workbooks move [OPTIONS] WORKBOOK_ID * `--collection-id TEXT`: The collection to put it in; the root when left out. * `--title TEXT`: New title to give it on the way. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -745,7 +745,7 @@ $ ycli datalens workbooks move-bulk [OPTIONS] WORKBOOK_ID... **Options**: * `--collection-id TEXT`: The collection to put it in; the root when left out. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -769,7 +769,7 @@ $ ycli datalens workbooks delete [OPTIONS] WORKBOOK_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -793,7 +793,7 @@ $ ycli datalens workbooks delete-bulk [OPTIONS] WORKBOOK_ID... **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -818,7 +818,7 @@ $ ycli datalens workbooks access-bindings-update [OPTIONS] WORKBOOK_ID **Options**: * `--delta TEXT`: A role to add or remove, as a JSON object of the API docs: {"action": "ADD", "accessBinding": {"roleId": ..., "subject": {"id": ..., "type": ...}}} (repeatable). [required] -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -866,7 +866,7 @@ $ ycli datalens entrylocks create [OPTIONS] ENTRY_ID **Options**: * `--data TEXT`: The terms of the lock, as a JSON object: {"duration": 300000, "force": false} (the duration in milliseconds). [required] -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -891,7 +891,7 @@ $ ycli datalens entrylocks extend [OPTIONS] ENTRY_ID **Options**: * `--data TEXT`: The lock and its new terms, as a JSON object: {"lockToken": "...", "duration": 600000}. [required] -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -916,7 +916,7 @@ $ ycli datalens entrylocks delete [OPTIONS] ENTRY_ID **Options**: * `--params TEXT`: Which lock to release, as a JSON object: {"lockToken": "..."}, or {"force": true} for a lock held by another. [required] -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -966,7 +966,7 @@ $ ycli datalens sparkclusters list [OPTIONS] * `--next TOKEN`: Go on from where an earlier run stopped, with the token it printed: the token carries its listing; give what is required again, and nothing else but the limit. * `--collection-id TEXT`: Keep the clusters of one collection. * `--filter TEXT`: A filter expression of the API (repeatable). -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -990,7 +990,7 @@ $ ycli datalens sparkclusters get [OPTIONS] CLUSTER_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1019,7 +1019,7 @@ $ ycli datalens sparkclusters create [OPTIONS] * `--config TEXT`: The Spark version and the pools of the driver and executors, as a JSON object; --body-file gives it under `config`. * `--description TEXT`: A description of the cluster. * `--labels TEXT`: Labels, as a JSON object: {"team": "bi"}. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1043,7 +1043,7 @@ $ ycli datalens sparkclusters delete [OPTIONS] CLUSTER_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1067,7 +1067,7 @@ $ ycli datalens sparkclusters start [OPTIONS] CLUSTER_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1091,7 +1091,7 @@ $ ycli datalens sparkclusters stop [OPTIONS] CLUSTER_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1115,7 +1115,7 @@ $ ycli datalens sparkclusters resource-presets-list [OPTIONS] * `--limit INTEGER RANGE`: Max items to fetch (default: the configured cap). [x>=1] * `--all`: Fetch everything, ignoring the cap. * `--next TOKEN`: Go on from where an earlier run stopped, with the token it printed: the token carries its listing; give what is required again, and nothing else but the limit. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1140,7 +1140,7 @@ $ ycli datalens sparkclusters resource-presets-get [OPTIONS] RESOURCE_PRESET_ID **Options**: * `--cloud-environment-id TEXT`: The cloud environment the presets are for. [required] -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1190,7 +1190,7 @@ $ ycli datalens htmlpages get [OPTIONS] ENTRY_ID * `--branch TEXT`: The version to read when no revision is named: saved or published. Known values: saved, published. * `--include-permissions / --no-include-permissions`: Also say what you may do with the page. * `--include-favorite / --no-include-favorite`: Also say whether the page is a favourite. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1218,7 +1218,7 @@ $ ycli datalens htmlpages create [OPTIONS] * `--key TEXT`: The page's key, in a folder. * `--workbook-id TEXT`: The workbook to create the page in. * `--name TEXT`: The page's name. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1249,7 +1249,7 @@ $ ycli datalens htmlpages update [OPTIONS] ENTRY_ID * `--content TEXT`: The HTML of the page; --body-file gives it under `content`. * `--rev-id TEXT`: A revision to make current, in place of new content. * `--annotation TEXT`: A description of the page, as JSON: {"description": "…"}. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1273,7 +1273,7 @@ $ ycli datalens htmlpages delete [OPTIONS] ENTRY_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1301,7 +1301,7 @@ $ ycli datalens htmlpages preview-url-get [OPTIONS] ENTRY_ID * `--rev-id TEXT`: One revision, as it is; give it or --branch, not both. * `--lang TEXT`: Language of the preview. Known values: en, ru. * `--theme TEXT`: Theme of the preview. Known values: light, dark, light-hc, dark-hc, system. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1346,7 +1346,7 @@ $ ycli datalens members list [OPTIONS] * `--search TEXT`: Keep the names or addresses that have this. * `--tab-id TEXT`: Keep one kind of subject. Known values: SUBJECT_TYPE_UNSPECIFIED, USER_ACCOUNT, GROUP, INVITEE, SERVICE_ACCOUNT, _system. * `--filter TEXT`: A filter expression of the API. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1404,7 +1404,7 @@ $ ycli datalens entries list [OPTIONS] * `--ignore-workbook-entries / --no-ignore-workbook-entries`: Leave out the entries of workbooks. * `--ignore-shared-entries / --no-ignore-shared-entries`: Leave out the shared entries. * `--include-data / --no-include-data`: Also give the content of each. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1434,7 +1434,7 @@ $ ycli datalens entries relations-list [OPTIONS] ENTRY_ID... * `--link-direction TEXT`: `from`: what they use; `to`: what uses them. * `--include-permissions-info / --no-include-permissions-info`: Also say what you may do with it. * `--scope TEXT`: Keep one kind of related entry. Known values: dash, report, widget, dataset, folder, connection, compute, artifact, sql_query. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1458,7 +1458,7 @@ $ ycli datalens entries permissions-get [OPTIONS] ENTRY_ID... **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1486,7 +1486,7 @@ $ ycli datalens entries revisions-list [OPTIONS] ENTRY_ID * `--all`: Fetch everything, ignoring the cap. * `--next TOKEN`: Go on from where an earlier run stopped, with the token it printed: the token carries its listing; give what is required again, and nothing else but the limit. * `--rev-id TEXT`: Keep this revision (repeatable). -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1511,7 +1511,7 @@ $ ycli datalens entries rename [OPTIONS] ENTRY_ID **Options**: * `--name TEXT`: The new name. [required] -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1554,7 +1554,7 @@ $ ycli datalens permissions get-bulk [OPTIONS] * `--entry-id TEXT`: An entry id (repeatable). * `--workbook-id TEXT`: A workbook id (repeatable). * `--collection-id TEXT`: A collection id (repeatable). -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1602,7 +1602,7 @@ $ ycli datalens connections get [OPTIONS] CONNECTION_ID * `--workbook-id TEXT`: The workbook the connection lies in. * `--binded-dataset-id TEXT`: A dataset bound to it, to read it through. * `--rev-id TEXT`: The revision to read; the current by default. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1625,7 +1625,7 @@ $ ycli datalens connections create [OPTIONS] **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1652,7 +1652,7 @@ $ ycli datalens connections update [OPTIONS] CONNECTION_ID **Options**: * `--data TEXT`: The fields to change, as a JSON object: {"host": "db2.example.net"}. --body-file and -F give them under `data` (-F 'data[port]=8443'). -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1684,7 +1684,7 @@ $ ycli datalens connections delete [OPTIONS] CONNECTION_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1733,7 +1733,7 @@ $ ycli datalens datasets get [OPTIONS] DATASET_ID * `--workbook-id TEXT`: The workbook the dataset lies in. * `--rev-id TEXT`: The revision to read; the current by default. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1764,7 +1764,7 @@ $ ycli datalens datasets create [OPTIONS] * `--rev-id TEXT`: The revision. * `--saved-id TEXT`: The saved revision. * `--workbook-id TEXT`: The workbook to create it in. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1792,7 +1792,7 @@ $ ycli datalens datasets update [OPTIONS] DATASET_ID * `--data TEXT`: What to save, as a JSON object: {"dataset": {...}, "mode": "save"}. --body-file gives it under `data`. * `--workbook-id TEXT`: The workbook the dataset lies in. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1821,7 +1821,7 @@ $ ycli datalens datasets delete [OPTIONS] DATASET_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1848,7 +1848,7 @@ $ ycli datalens datasets validate [OPTIONS] DATASET_ID * `--workbook-id TEXT`: The workbook the dataset lies in. * `--binded-dataset-id TEXT`: A dataset bound to this one. * `--data TEXT`: What to check, as a JSON object: {"dataset": {...}, "updates": [...]}. --body-file gives it under `data`. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1879,7 +1879,7 @@ $ ycli datalens datasets data-get [OPTIONS] DATASET_ID * `--sort TEXT`: A sorting rule, as a JSON object: {"guid": "...", "direction": "asc"} (repeatable). * `--limit INTEGER`: The most rows to return; 100 by default. * `--offset INTEGER`: How many rows to skip; above zero it needs --sort. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1928,7 +1928,7 @@ $ ycli datalens charts data-get [OPTIONS] CHART_ID **Options**: * `--params TEXT`: Values for the chart's parameters, as a JSON object: {"year": "2026", "city": ["Moscow", "Kazan"]}. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1979,7 +1979,7 @@ $ ycli datalens charts wizard get [OPTIONS] CHART_ID * `--include-links / --no-include-links`: Also say what it is linked to. * `--include-favorite / --no-include-favorite`: Also say whether it is a favourite. * `--branch TEXT`: The version to read when no revision is named: saved or published. A save writes the saved one: read `saved` before you change a chart. Known values: saved, published. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -2007,7 +2007,7 @@ $ ycli datalens charts wizard create [OPTIONS] * `--key TEXT`: The entry's key, in a folder. * `--workbook-id TEXT`: The workbook to create it in. * `--name TEXT`: The chart's name. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -2040,7 +2040,7 @@ $ ycli datalens charts wizard update [OPTIONS] CHART_ID * `--data TEXT`: What the chart holds, as a JSON object; --body-file gives it under `data`. * `--annotation TEXT`: A description, as a JSON object: {"description": "…"}. * `--rev-id TEXT`: The revision the change is made on; DataLens does not check it (measured). -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -2070,7 +2070,7 @@ $ ycli datalens charts wizard delete [OPTIONS] CHART_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -2121,7 +2121,7 @@ $ ycli datalens charts ql get [OPTIONS] CHART_ID * `--include-links / --no-include-links`: Also say what it is linked to. * `--include-favorite / --no-include-favorite`: Also say whether it is a favourite. * `--branch TEXT`: The version to read when no revision is named: saved or published. A save writes the saved one: read `saved` before you change a chart. Known values: saved, published. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -2147,7 +2147,7 @@ $ ycli datalens charts ql create [OPTIONS] * `--key TEXT`: The entry's key, in a folder. * `--workbook-id TEXT`: The workbook to create it in. * `--name TEXT`: The chart's name. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -2178,7 +2178,7 @@ $ ycli datalens charts ql update [OPTIONS] ENTRY_ID * `--mode TEXT`: Keep the change as a draft, or publish it. Known values: save, publish. [required] * `--data TEXT`: What the chart holds, as a JSON object (its query and how it is shown); --body-file gives it under `data`. * `--annotation TEXT`: A description, as a JSON object: {"description": "…"}. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -2202,7 +2202,7 @@ $ ycli datalens charts ql delete [OPTIONS] CHART_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -2253,7 +2253,7 @@ $ ycli datalens charts editor get [OPTIONS] CHART_ID * `--include-links / --no-include-links`: Also say what it is linked to. * `--include-favorite / --no-include-favorite`: Also say whether it is a favourite. * `--branch TEXT`: The version to read when no revision is named: saved or published. A save writes the saved one: read `saved` before you change a chart. Known values: saved, published. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -2274,7 +2274,7 @@ $ ycli datalens charts editor create [OPTIONS] **Options**: * `--entry TEXT`: The chart, as a JSON object; `type` says which kind it is. --body-file gives it under `entry`. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -2299,7 +2299,7 @@ $ ycli datalens charts editor update [OPTIONS] * `--mode TEXT`: Keep the change as a draft, or publish it. Known values: save, publish. [required] * `--entry TEXT`: The chart, as a JSON object; `type` says which kind it is. --body-file gives it under `entry`. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -2323,7 +2323,7 @@ $ ycli datalens charts editor delete [OPTIONS] CHART_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -2376,7 +2376,7 @@ $ ycli datalens dashboards get [OPTIONS] DASHBOARD_ID * `--include-favorite / --no-include-favorite`: Also say whether the dashboard is a favourite. * `--branch TEXT`: The version to read when no revision is named: saved or published. A save writes the saved one: read `saved` before you change a dashboard. Known values: saved, published. * `--workbook-id TEXT`: The workbook the dashboard lies in. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -2400,7 +2400,7 @@ $ ycli datalens dashboards create [OPTIONS] **Options**: * `--entry TEXT`: The dashboard, as a JSON object; --body-file gives it under `entry`. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -2426,7 +2426,7 @@ $ ycli datalens dashboards update [OPTIONS] * `--mode TEXT`: Keep the dashboard as a draft, or publish it. Known values: save, publish. [required] * `--entry TEXT`: The dashboard, as a JSON object; --body-file gives it under `entry`. * `--lock-token TEXT`: The token of the lock held on it, when it is locked. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -2451,7 +2451,7 @@ $ ycli datalens dashboards delete [OPTIONS] DASHBOARD_ID **Options**: * `--lock-token TEXT`: The token of the lock held on it, when it is locked. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -2501,7 +2501,7 @@ $ ycli datalens reports get [OPTIONS] ENTRY_ID * `--rev-id TEXT`: The revision of the report to read; the current one. * `--include-permissions / --no-include-permissions`: Also say what you may do with the report. * `--include-favorite / --no-include-favorite`: Also say whether the report is a favourite. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -2531,7 +2531,7 @@ $ ycli datalens reports create [OPTIONS] * `--key TEXT`: The report's key, in a folder. * `--workbook-id TEXT`: The workbook to create the report in. * `--name TEXT`: The report's name. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -2567,7 +2567,7 @@ $ ycli datalens reports update [OPTIONS] ENTRY_ID * `--meta TEXT`: Metadata of the entry, as a JSON object or `null`; the API requires it. * `--rev-id TEXT`: The revision of the report to change; DataLens does not check it (measured). * `--annotation TEXT`: A description of the report, as JSON: {"description": "…"}. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -2591,7 +2591,7 @@ $ ycli datalens reports delete [OPTIONS] ENTRY_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -2639,7 +2639,7 @@ $ ycli datalens workbookexports start [OPTIONS] WORKBOOK_ID **Options**: * `--wait / --no-wait`: Poll to a terminal status before printing. [default: wait] -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -2663,7 +2663,7 @@ $ ycli datalens workbookexports status-get [OPTIONS] EXPORT_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -2690,7 +2690,7 @@ $ ycli datalens workbookexports result-get [OPTIONS] EXPORT_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -2716,7 +2716,7 @@ $ ycli datalens workbookexports cancel [OPTIONS] EXPORT_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -2767,7 +2767,7 @@ $ ycli datalens workbookimports start [OPTIONS] * `--collection-id TEXT`: The collection to make it in; the root if not. * `--description TEXT`: The description of the new workbook. * `--wait / --no-wait`: Poll to a terminal status before printing. [default: wait] -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -2791,7 +2791,7 @@ $ ycli datalens workbookimports status-get [OPTIONS] IMPORT_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -2836,7 +2836,7 @@ $ ycli datalens embeds list [OPTIONS] ENTRY_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -2864,7 +2864,7 @@ $ ycli datalens embeds create [OPTIONS] * `--deps-ids TEXT`: An entry the embedded one depends on (repeatable). * `--unsigned-params TEXT`: A parameter a link may carry unsigned (repeatable). * `--private-params TEXT`: A parameter that goes signed, in the token (repeatable). -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -2895,7 +2895,7 @@ $ ycli datalens embeds update [OPTIONS] EMBED_ID * `--deps-ids TEXT`: An entry the embedded one depends on (repeatable). * `--unsigned-params TEXT`: A parameter a link may carry unsigned (repeatable). * `--private-params TEXT`: A parameter that goes signed, in the token (repeatable). -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -2919,7 +2919,7 @@ $ ycli datalens embeds delete [OPTIONS] EMBED_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -2964,7 +2964,7 @@ $ ycli datalens embeddingsecrets get [OPTIONS] EMBEDDING_SECRET_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -2988,7 +2988,7 @@ $ ycli datalens embeddingsecrets list [OPTIONS] WORKBOOK_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -3013,7 +3013,7 @@ $ ycli datalens embeddingsecrets create [OPTIONS] * `--title TEXT`: The name of the key. [required] * `--workbook-id TEXT`: The workbook the key belongs to. [required] -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -3037,7 +3037,7 @@ $ ycli datalens embeddingsecrets delete [OPTIONS] EMBEDDING_SECRET_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -3084,7 +3084,7 @@ $ ycli datalens sharedentries access-bindings-list [OPTIONS] ENTRY_ID * `--all`: Fetch everything, ignoring the cap. * `--next TOKEN`: Go on from where an earlier run stopped, with the token it printed: the token carries its listing; give what is required again, and nothing else but the limit. * `--get-inherited-bindings / --no-get-inherited-bindings`: Also list the inherited roles. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -3109,7 +3109,7 @@ $ ycli datalens sharedentries access-bindings-update [OPTIONS] ENTRY_ID **Options**: * `--delta TEXT`: A role to add or remove, as a JSON object of the API docs: {"action": "ADD", "accessBinding": {"roleId": ..., "subject": {"id": ..., "type": ...}}} (repeatable). [required] -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -3153,7 +3153,7 @@ $ ycli datalens audit entries-updates-list [OPTIONS] * `--limit INTEGER RANGE`: Max items to fetch (default: the configured cap). [x>=1] * `--all`: Fetch everything, ignoring the cap. * `--next TOKEN`: Go on from where an earlier run stopped, with the token it printed: the token carries its listing; give what is required again, and nothing else but the limit. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -3178,7 +3178,7 @@ $ ycli datalens audit entry-permissions-get [OPTIONS] ENTRY_ID... **Options**: * `--user-id TEXT`: The user's id, as `createdBy` of an entry gives it. [required] -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -3227,7 +3227,7 @@ $ ycli datalens sqlqueries get [OPTIONS] SQL_QUERY_ID * `--rev-id TEXT`: The revision to read; the current if not. * `--include-permissions / --no-include-permissions`: Also say what you may do with the query. * `--include-favorite / --no-include-favorite`: Also say whether the query is a favourite. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -3257,7 +3257,7 @@ $ ycli datalens sqlqueries create [OPTIONS] * `--query TEXT`: The text of the query. * `--description TEXT`: A description. * `--params TEXT`: The parameters the text takes, as a JSON array: [{"name": "since", "type": "date", "defaultValue": "2026-01-01"}]. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -3287,7 +3287,7 @@ $ ycli datalens sqlqueries update [OPTIONS] SQL_QUERY_ID * `--query TEXT`: The text of the query. * `--description TEXT`: A description. * `--params TEXT`: The parameters the text takes, as a JSON array: [{"name": "since", "type": "date", "defaultValue": "2026-01-01"}]. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -3313,7 +3313,7 @@ $ ycli datalens sqlqueries delete [OPTIONS] SQL_QUERY_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -3340,7 +3340,7 @@ $ ycli datalens sqlqueries run [OPTIONS] SQL_QUERY_ID **Options**: * `--params TEXT`: The values of the parameters, as a JSON object: {"since": "2026-10-01"}. A parameter left out takes its default. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -3390,7 +3390,7 @@ $ ycli datalens licensing licenses-list [OPTIONS] * `--limit INTEGER RANGE`: Max items to fetch (default: the configured cap). [x>=1] * `--all`: Fetch everything, ignoring the cap. * `--next TOKEN`: Go on from where an earlier run stopped, with the token it printed: the token carries its listing; give what is required again, and nothing else but the limit. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -3414,7 +3414,7 @@ $ ycli datalens licensing licenses-assign [OPTIONS] USER_ID... **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -3436,7 +3436,7 @@ $ ycli datalens licensing limit-get [OPTIONS] **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -3460,7 +3460,7 @@ $ ycli datalens licensing limit-set [OPTIONS] VALUE **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -3509,7 +3509,7 @@ $ ycli datalens cloudenvironments list [OPTIONS] * `--limit INTEGER RANGE`: Max items to fetch (default: the configured cap). [x>=1] * `--all`: Fetch everything, ignoring the cap. * `--next TOKEN`: Go on from where an earlier run stopped, with the token it printed: the token carries its listing; give what is required again, and nothing else but the limit. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -3534,7 +3534,7 @@ $ ycli datalens cloudenvironments get [OPTIONS] ID **Options**: * `--include-permissions / --no-include-permissions`: Also say what you may do with the environment. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -3560,7 +3560,7 @@ $ ycli datalens cloudenvironments create [OPTIONS] * `--description TEXT`: A description. * `--security-group-ids TEXT`: A security group it uses (repeatable). * `--storage TEXT`: The settings of its storage bucket, as a JSON object: {"maxSize": "0"} (bytes; zero is unlimited). -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -3590,7 +3590,7 @@ $ ycli datalens cloudenvironments update [OPTIONS] ID * `--description TEXT`: A new description; empty clears it. * `--security-group-ids TEXT`: A security group it uses (repeatable). * `--storage TEXT`: The settings of its storage bucket, as a JSON object: {"maxSize": "0"} (bytes; zero is unlimited). -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -3616,7 +3616,7 @@ $ ycli datalens cloudenvironments delete [OPTIONS] ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -3667,7 +3667,7 @@ $ ycli datalens cloudenvironmentstorage bucket-objects-list [OPTIONS] CLOUD_ENVI * `--limit INTEGER RANGE`: Max items to fetch (default: the configured cap). [x>=1] * `--all`: Fetch everything, ignoring the cap. * `--next TOKEN`: Go on from where an earlier run stopped, with the token it printed: the token carries its listing; give what is required again, and nothing else but the limit. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -3694,7 +3694,7 @@ $ ycli datalens cloudenvironmentstorage bucket-object-metadata-get [OPTIONS] CLO **Options**: * `--path TEXT`: The path of the object in the bucket. [required] -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -3721,7 +3721,7 @@ $ ycli datalens cloudenvironmentstorage bucket-download-url-create [OPTIONS] CLO **Options**: * `--path TEXT`: The path of the object in the bucket. [required] -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -3750,7 +3750,7 @@ $ ycli datalens cloudenvironmentstorage bucket-upload-url-create [OPTIONS] CLOUD * `--path TEXT`: The path of the object in the bucket. [required] * `--size TEXT`: The size of the object in bytes. [required] * `--content-md5 TEXT`: The MD5 digest of the content, base64-encoded. [required] -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -3799,7 +3799,7 @@ $ ycli datalens restcatalogs list [OPTIONS] * `--limit INTEGER RANGE`: Max items to fetch (default: the configured cap). [x>=1] * `--all`: Fetch everything, ignoring the cap. * `--next TOKEN`: Go on from where an earlier run stopped, with the token it printed: the token carries its listing; give what is required again, and nothing else but the limit. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -3824,7 +3824,7 @@ $ ycli datalens restcatalogs create [OPTIONS] * `--bucket-settings TEXT`: The settings of its bucket, as a JSON object: {"storageClass": "STANDARD", "maxSize": "1073741824"}, or {}. [required] * `--description TEXT`: A description. * `--labels TEXT`: Labels, as a JSON object: {"team": "analytics"}. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -3868,7 +3868,7 @@ $ ycli datalens lakehouseoperations get [OPTIONS] OPERATION_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -3923,7 +3923,7 @@ $ ycli datalens trinoclusters list [OPTIONS] * `--limit INTEGER RANGE`: Max items to fetch (default: the configured cap). [x>=1] * `--all`: Fetch everything, ignoring the cap. * `--next TOKEN`: Go on from where an earlier run stopped, with the token it printed: the token carries its listing; give what is required again, and nothing else but the limit. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -3947,7 +3947,7 @@ $ ycli datalens trinoclusters get [OPTIONS] ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -3977,7 +3977,7 @@ $ ycli datalens trinoclusters create [OPTIONS] * `--labels TEXT`: Labels, as a JSON object: {"team": "analytics"}. * `--catalogs-config TEXT`: A REST catalog to attach, as a JSON object: {"catalogId": "…"} (repeatable). * `--trino-version TEXT`: The version of Trino; the service's own if not. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -4003,7 +4003,7 @@ $ ycli datalens trinoclusters delete [OPTIONS] ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -4029,7 +4029,7 @@ $ ycli datalens trinoclusters start [OPTIONS] CLUSTER_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -4055,7 +4055,7 @@ $ ycli datalens trinoclusters stop [OPTIONS] CLUSTER_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -4082,7 +4082,7 @@ $ ycli datalens trinoclusters catalog-create [OPTIONS] CLUSTER_ID **Options**: * `--catalog TEXT`: The REST catalog to attach, as a JSON object: {"catalogId": "…"}. [required] -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -4109,7 +4109,7 @@ $ ycli datalens trinoclusters catalog-delete [OPTIONS] CLUSTER_ID **Options**: * `--catalog-id TEXT`: The id of the REST catalog to detach. [required] -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -4138,7 +4138,7 @@ $ ycli datalens trinoclusters resource-presets-list [OPTIONS] CLOUD_ENVIRONMENT_ * `--limit INTEGER RANGE`: Max items to fetch (default: the configured cap). [x>=1] * `--all`: Fetch everything, ignoring the cap. * `--next TOKEN`: Go on from where an earlier run stopped, with the token it printed: the token carries its listing; give what is required again, and nothing else but the limit. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -4165,7 +4165,7 @@ $ ycli datalens trinoclusters resource-preset-get [OPTIONS] RESOURCE_PRESET_ID **Options**: * `--cloud-environment-id TEXT`: The cloud environment the presets are of. [required] -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -4217,7 +4217,7 @@ $ ycli datalens sparkapplications list [OPTIONS] CLUSTER_ID * `--limit INTEGER RANGE`: Max items to fetch (default: the configured cap). [x>=1] * `--all`: Fetch everything, ignoring the cap. * `--next TOKEN`: Go on from where an earlier run stopped, with the token it printed: the token carries its listing; give what is required again, and nothing else but the limit. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -4244,7 +4244,7 @@ $ ycli datalens sparkapplications get [OPTIONS] CLUSTER_ID **Options**: * `--application-id TEXT`: Id of the Spark application. [required] -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -4278,7 +4278,7 @@ $ ycli datalens sparkapplications create [OPTIONS] CLUSTER_ID * `--spark-application TEXT`: An application in a JAR, as a JSON object: {"mainJarFileUri": "…", "mainClass": "…", "args": ["…"]}. * `--pyspark-application TEXT`: An application in a Python file, as a JSON object: {"mainPythonFileUri": "…", "args": ["…"]}. * `--spark-connect-application TEXT`: A Spark Connect application, as a JSON object: {"properties": {"…": "…"}}. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -4305,7 +4305,7 @@ $ ycli datalens sparkapplications cancel [OPTIONS] CLUSTER_ID **Options**: * `--application-id TEXT`: Id of the Spark application. [required] -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -4334,7 +4334,7 @@ $ ycli datalens sparkapplications log-list [OPTIONS] CLUSTER_ID * `--application-id TEXT`: Id of the Spark application. [required] * `--page-size INTEGER`: The most characters the fragment may hold. * `--page-token TEXT`: The token of the fragment to read; the first if not. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. diff --git a/docs/en/reference/cli/forms.md b/docs/en/reference/cli/forms.md index e03a47155..eb7124683 100644 --- a/docs/en/reference/cli/forms.md +++ b/docs/en/reference/cli/forms.md @@ -69,7 +69,7 @@ $ ycli forms auth status [OPTIONS] **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -107,7 +107,7 @@ $ ycli forms me get [OPTIONS] **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -161,7 +161,7 @@ $ ycli forms surveys list [OPTIONS] * `--favourite / --no-favourite`: Only favourites (or only the others). * `--show-all / --no-show-all`: As an administrator, every form of the organization. * `--orderby TEXT`: Sort, e.g. name,-modified,-count. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -185,7 +185,7 @@ $ ycli forms surveys get [OPTIONS] SURVEY_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -211,7 +211,7 @@ $ ycli forms surveys create [OPTIONS] * `--public / --no-public`: Ignored by the API: the reply reports whether the form is public, a request cannot set it. * `--need-auth / --no-need-auth`: Require sign-in to fill. * `--max-count INTEGER`: Maximum number of responses (0: no cap). -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -241,7 +241,7 @@ $ ycli forms surveys update [OPTIONS] SURVEY_ID * `--public / --no-public`: Ignored by the API: the reply reports whether the form is public, a request cannot set it. * `--need-auth / --no-need-auth`: Toggle sign-in requirement. * `--max-count INTEGER`: New response cap (0 removes the cap). -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -265,7 +265,7 @@ $ ycli forms surveys delete [OPTIONS] SURVEY_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -289,7 +289,7 @@ $ ycli forms surveys publish [OPTIONS] SURVEY_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -313,7 +313,7 @@ $ ycli forms surveys unpublish [OPTIONS] SURVEY_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -360,7 +360,7 @@ $ ycli forms questions list [OPTIONS] SURVEY_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -386,7 +386,7 @@ $ ycli forms questions get [OPTIONS] SURVEY_ID QUESTION_ID **Options**: * `--with-slugs / --no-with-slugs`: Refer to other questions by slug, not id. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -420,7 +420,7 @@ $ ycli forms questions create [OPTIONS] SURVEY_ID * `--multiline / --no-multiline`: Multiline text (string type). * `--widget TEXT`: How an enum question shows its options. Known values: radio, checkbox, dropdown, stars, onerow. * `--option TEXT`: Enum option label (repeatable). -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -455,7 +455,7 @@ $ ycli forms questions update [OPTIONS] SURVEY_ID QUESTION_ID * `--multiline / --no-multiline`: Multiline text (string type). * `--widget TEXT`: How an enum question shows its options. Known values: radio, checkbox, dropdown, stars, onerow. * `--option TEXT`: Enum option label (repeatable). -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -481,7 +481,7 @@ $ ycli forms questions delete [OPTIONS] SURVEY_ID QUESTION_ID **Options**: * `--force / --no-force`: Ignored by the API: a question that a display condition refers to is refused all the same. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -514,7 +514,7 @@ $ ycli forms questions move [OPTIONS] SURVEY_ID QUESTION_ID * `--position INTEGER`: New position on the page, 1-based. * `--create-page / --no-create-page`: Create a new page for the question. * `--question TEXT`: Question id/slug to move into a question series. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -583,7 +583,7 @@ $ ycli forms conditions question list [OPTIONS] SURVEY_ID QUESTION_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -609,7 +609,7 @@ $ ycli forms conditions question get [OPTIONS] SURVEY_ID QUESTION_ID CONDITION_I **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -636,7 +636,7 @@ $ ycli forms conditions question create [OPTIONS] SURVEY_ID QUESTION_ID * `--operator TEXT`: Boolean operator. Known values: and, or. * `--item TEXT`: Condition clause as JSON: {"type", "condition", "question"?, "value"?} (repeatable). -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -664,7 +664,7 @@ $ ycli forms conditions question update [OPTIONS] SURVEY_ID QUESTION_ID CONDITIO * `--operator TEXT`: Boolean operator. Known values: and, or. * `--item TEXT`: Condition clause as JSON: {"type", "condition", "question"?, "value"?} (repeatable). -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -690,7 +690,7 @@ $ ycli forms conditions question delete [OPTIONS] SURVEY_ID QUESTION_ID CONDITIO **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -716,7 +716,7 @@ $ ycli forms conditions question update-operator [OPTIONS] SURVEY_ID QUESTION_ID **Options**: * `--operator TEXT`: Boolean operator. Known values: and, or. [required] -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -764,7 +764,7 @@ $ ycli forms conditions page list [OPTIONS] SURVEY_ID PAGE_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -790,7 +790,7 @@ $ ycli forms conditions page get [OPTIONS] SURVEY_ID PAGE_ID CONDITION_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -817,7 +817,7 @@ $ ycli forms conditions page create [OPTIONS] SURVEY_ID PAGE_ID * `--operator TEXT`: Boolean operator. Known values: and, or. * `--item TEXT`: Condition clause as JSON: {"type", "condition", "question"?, "value"?} (repeatable). -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -845,7 +845,7 @@ $ ycli forms conditions page update [OPTIONS] SURVEY_ID PAGE_ID CONDITION_ID * `--operator TEXT`: Boolean operator. Known values: and, or. * `--item TEXT`: Condition clause as JSON: {"type", "condition", "question"?, "value"?} (repeatable). -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -871,7 +871,7 @@ $ ycli forms conditions page delete [OPTIONS] SURVEY_ID PAGE_ID CONDITION_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -897,7 +897,7 @@ $ ycli forms conditions page update-operator [OPTIONS] SURVEY_ID PAGE_ID **Options**: * `--operator TEXT`: Boolean operator. Known values: and, or. [required] -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -944,7 +944,7 @@ $ ycli forms conditions submit list [OPTIONS] SURVEY_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -969,7 +969,7 @@ $ ycli forms conditions submit get [OPTIONS] SURVEY_ID CONDITION_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -995,7 +995,7 @@ $ ycli forms conditions submit create [OPTIONS] SURVEY_ID * `--operator TEXT`: Boolean operator. Known values: and, or. * `--item TEXT`: Condition clause as JSON: {"type", "condition", "question"?, "value"?} (repeatable). -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1022,7 +1022,7 @@ $ ycli forms conditions submit update [OPTIONS] SURVEY_ID CONDITION_ID * `--operator TEXT`: Boolean operator. Known values: and, or. * `--item TEXT`: Condition clause as JSON: {"type", "condition", "question"?, "value"?} (repeatable). -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1047,7 +1047,7 @@ $ ycli forms conditions submit delete [OPTIONS] SURVEY_ID CONDITION_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1072,7 +1072,7 @@ $ ycli forms conditions submit update-operator [OPTIONS] SURVEY_ID **Options**: * `--operator TEXT`: Boolean operator. Known values: and, or. [required] -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1120,7 +1120,7 @@ $ ycli forms conditions hook list [OPTIONS] SURVEY_ID HOOK_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1146,7 +1146,7 @@ $ ycli forms conditions hook get [OPTIONS] SURVEY_ID HOOK_ID CONDITION_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1173,7 +1173,7 @@ $ ycli forms conditions hook create [OPTIONS] SURVEY_ID HOOK_ID * `--operator TEXT`: Boolean operator. Known values: and, or. * `--item TEXT`: Condition clause as JSON: {"type", "condition", "question"?, "value"?} (repeatable). -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1201,7 +1201,7 @@ $ ycli forms conditions hook update [OPTIONS] SURVEY_ID HOOK_ID CONDITION_ID * `--operator TEXT`: Boolean operator. Known values: and, or. * `--item TEXT`: Condition clause as JSON: {"type", "condition", "question"?, "value"?} (repeatable). -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1227,7 +1227,7 @@ $ ycli forms conditions hook delete [OPTIONS] SURVEY_ID HOOK_ID CONDITION_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1253,7 +1253,7 @@ $ ycli forms conditions hook update-operator [OPTIONS] SURVEY_ID HOOK_ID **Options**: * `--operator TEXT`: Boolean operator. Known values: and, or. [required] -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1298,7 +1298,7 @@ $ ycli forms access list [OPTIONS] SURVEY_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1324,7 +1324,7 @@ $ ycli forms access update [OPTIONS] SURVEY_ID * `--action TEXT`: Action: change (edit, read answers) or submit (fill in). [required] * `--access TEXT`: Level of access. Known values: owner, restricted, common, public. [required] -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1353,7 +1353,7 @@ $ ycli forms access grant [OPTIONS] SURVEY_ID * `--cloud-uid TEXT`: User's Yandex Cloud uid. * `--group-src TEXT`: Where the group is kept. Known values: dir, cloud, com, staff. * `--group-id TEXT`: Group id within its source. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1382,7 +1382,7 @@ $ ycli forms access revoke [OPTIONS] SURVEY_ID * `--cloud-uid TEXT`: User's Yandex Cloud uid. * `--group-src TEXT`: Where the group is kept. Known values: dir, cloud, com, staff. * `--group-id TEXT`: Group id within its source. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1428,7 +1428,7 @@ $ ycli forms history list [OPTIONS] SURVEY_ID * `--limit INTEGER RANGE`: Max items to fetch (default: the configured cap). [x>=1] * `--all`: Fetch everything, ignoring the cap. * `--next TOKEN`: Go on from where an earlier run stopped, with the token it printed: the token carries its listing; give what is required again, and nothing else but the limit. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1475,7 +1475,7 @@ $ ycli forms answers get [OPTIONS] * `--answer-id INTEGER`: Numeric answer id (needs form-edit access). * `--answer-key TEXT`: Answer key hash (works without form-edit access). -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1508,7 +1508,7 @@ $ ycli forms answers list [OPTIONS] SURVEY_ID * `--ordering TEXT`: asc is oldest first; the default is desc. Known values: asc, desc. * `--page-size INTEGER`: Answers per request (the API's default is 25). * `--answer-format TEXT`: default is cells by column, raw is as stored. Known values: default, raw. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1563,7 +1563,7 @@ $ ycli forms answers integrations-list [OPTIONS] * `--answer-id INTEGER`: Numeric answer id (needs form-edit access). * `--answer-key TEXT`: Answer key hash (works without form-edit access). -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1588,7 +1588,7 @@ $ ycli forms answers delete [OPTIONS] SURVEY_ID ANSWER_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1613,7 +1613,7 @@ $ ycli forms answers restore [OPTIONS] SURVEY_ID ANSWER_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1660,7 +1660,7 @@ $ ycli forms keysets list [OPTIONS] SURVEY_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1685,7 +1685,7 @@ $ ycli forms keysets get [OPTIONS] SURVEY_ID KEYSET_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1714,7 +1714,7 @@ $ ycli forms keysets create [OPTIONS] SURVEY_ID * `--name TEXT`: Key set name. [required] * `--total INTEGER`: Number of keys to generate. [required] * `--enabled / --disabled`: Create the set active (required — the API rejects a create without it). [required] -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1744,7 +1744,7 @@ $ ycli forms keysets update [OPTIONS] SURVEY_ID KEYSET_ID * `--name TEXT`: Key set name (required — replaces the record). [required] * `--total INTEGER`: Number of keys (required — replaces the record); the API refuses a number smaller than the set has now. [required] * `--enabled / --disabled`: Active flag (required). [required] -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1769,7 +1769,7 @@ $ ycli forms keysets delete [OPTIONS] SURVEY_ID KEYSET_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1795,7 +1795,7 @@ $ ycli forms keysets download [OPTIONS] SURVEY_ID KEYSET_ID **Options**: * `--output TEXT`: Write bytes to this path; omit / '-' streams to stdout. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1837,7 +1837,7 @@ $ ycli forms operations get [OPTIONS] OPERATION_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1898,7 +1898,7 @@ $ ycli forms notifications list [OPTIONS] * `--limit INTEGER RANGE`: Max items to fetch (default: the configured cap). [x>=1] * `--all`: Fetch everything, ignoring the cap. * `--next TOKEN`: Go on from where an earlier run stopped, with the token it printed: the token carries its listing; give what is required again, and nothing else but the limit. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1922,7 +1922,7 @@ $ ycli forms notifications get [OPTIONS] NOTIFICATION_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1946,7 +1946,7 @@ $ ycli forms notifications status-get [OPTIONS] NOTIFICATION_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1970,7 +1970,7 @@ $ ycli forms notifications restart [OPTIONS] NOTIFICATION_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1994,7 +1994,7 @@ $ ycli forms notifications cancel [OPTIONS] NOTIFICATION_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -2018,7 +2018,7 @@ $ ycli forms notifications errors-list [OPTIONS] SURVEY_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -2064,7 +2064,7 @@ $ ycli forms files upload [OPTIONS] SURVEY_ID FILE_PATH **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -2090,7 +2090,7 @@ $ ycli forms files verify [OPTIONS] SURVEY_ID * `--path TEXT`: File path to check (repeatable). * `--url TEXT`: File URL to check (repeatable, paired to --path). -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -2114,7 +2114,7 @@ $ ycli forms files download [OPTIONS] * `-O, --output TEXT`: Write to this path; omit or '-' for stdout. * `--download / --no-download`: Ask the API for a Content-Disposition filename header. * `--hash TEXT`: Access hash from the upload response (anonymous download). -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -2136,7 +2136,7 @@ $ ycli forms files delete [OPTIONS] * `--path TEXT`: File download path (from an upload response). * `--url TEXT`: File download URL (from an upload response). -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -2180,7 +2180,7 @@ $ ycli forms images upload [OPTIONS] SURVEY_ID IMAGE_PATH **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -2207,7 +2207,7 @@ $ ycli forms images clone [OPTIONS] SURVEY_ID * `--image-id INTEGER`: Id of the image to clone. * `--name TEXT`: Ignored by the API: the clone keeps the file name of the original. * `--link TEXT`: SIZE=URL of the image to clone (repeatable). -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -2252,7 +2252,7 @@ $ ycli forms filling get [OPTIONS] SURVEY_ID **Options**: * `--key TEXT`: Personal-link fill key, when the form uses one. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -2281,7 +2281,7 @@ $ ycli forms filling submit [OPTIONS] SURVEY_ID * `--validate-only / --no-validate-only`: Validate only — save nothing, fire no integrations. * `--key TEXT`: Personal-link fill key, when the form uses one. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -2309,7 +2309,7 @@ $ ycli forms filling suggest [OPTIONS] SURVEY_ID * `--text TEXT`: Text to search suggestions for. * `--suggest-id TEXT`: Comma-separated suggestion-object ids to resolve. * `--parent-id TEXT`: Parent ids for a Master/Detail lookup. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -2355,7 +2355,7 @@ $ ycli forms hooks list [OPTIONS] SURVEY_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -2380,7 +2380,7 @@ $ ycli forms hooks get [OPTIONS] SURVEY_ID HOOK_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -2406,7 +2406,7 @@ $ ycli forms hooks create [OPTIONS] SURVEY_ID * `--name TEXT`: Integration group name (max 100 characters). * `--active / --inactive`: Run the group's integrations, or pause them. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -2433,7 +2433,7 @@ $ ycli forms hooks update [OPTIONS] SURVEY_ID HOOK_ID * `--name TEXT`: Integration group name (max 100 characters). * `--active / --inactive`: Run the group's integrations, or pause them. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -2458,7 +2458,7 @@ $ ycli forms hooks delete [OPTIONS] SURVEY_ID HOOK_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -2506,7 +2506,7 @@ $ ycli forms subscriptions list [OPTIONS] SURVEY_ID HOOK_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -2532,7 +2532,7 @@ $ ycli forms subscriptions get [OPTIONS] SURVEY_ID HOOK_ID SUBSCRIPTION_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -2557,7 +2557,7 @@ $ ycli forms subscriptions create [OPTIONS] SURVEY_ID HOOK_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -2583,7 +2583,7 @@ $ ycli forms subscriptions update [OPTIONS] SURVEY_ID HOOK_ID SUBSCRIPTION_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -2609,7 +2609,7 @@ $ ycli forms subscriptions delete [OPTIONS] SURVEY_ID HOOK_ID SUBSCRIPTION_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -2636,7 +2636,7 @@ $ ycli forms subscriptions attach [OPTIONS] SURVEY_ID HOOK_ID SUBSCRIPTION_ID FI **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -2678,7 +2678,7 @@ $ ycli forms variables list [OPTIONS] SURVEY_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. diff --git a/docs/en/reference/cli/index.md b/docs/en/reference/cli/index.md index ad7791e63..da60f1874 100644 --- a/docs/en/reference/cli/index.md +++ b/docs/en/reference/cli/index.md @@ -25,7 +25,7 @@ $ ycli [OPTIONS] COMMAND [ARGS]... **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). [default: auto] +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). [default: auto] * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. diff --git a/docs/en/reference/cli/mcp.md b/docs/en/reference/cli/mcp.md index 62d60cd35..3b343997d 100644 --- a/docs/en/reference/cli/mcp.md +++ b/docs/en/reference/cli/mcp.md @@ -44,7 +44,7 @@ $ ycli mcp start [OPTIONS] * `--transport [stdio|http]`: stdio (default): one local client, credentials from the environment or from --profile. http: Streamable HTTP for many users, each signed in through Yandex ID (needs YCLI__MCP__BASE_URL and your Yandex OAuth app; see https://ycli.savaznatnov.dev/how-to/self-host-over-http/). [default: stdio] * `--host TEXT`: HTTP only: listen address (YCLI__MCP__HOST). * `--port INTEGER`: HTTP only: listen port (YCLI__MCP__PORT). -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -73,7 +73,7 @@ $ ycli mcp methods [OPTIONS] * `--read-only`: Serve only read tools (hide every write-tagged tool); wins over --tools. * `--tool-search`: List a search tool and a call proxy instead of the tools (BM25); status_get and schema_get stay. * `--kind [tools|prompts|resources]`: What to list: tools (default), prompts, or resources (addresses and templates). [default: tools] -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. diff --git a/docs/en/reference/cli/sync.md b/docs/en/reference/cli/sync.md index e67bdf328..5f91318cd 100644 --- a/docs/en/reference/cli/sync.md +++ b/docs/en/reference/cli/sync.md @@ -40,7 +40,7 @@ $ ycli sync kinds [OPTIONS] **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -71,7 +71,7 @@ $ ycli sync status [OPTIONS] [PATHS]... * `--kind TEXT`: Keep the files of this kind, e.g. wiki/page (repeatable). * `--show-unchanged`: Also list the files that were not edited. * `--exit-code`: Exit with 7 when there is something to push. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -99,7 +99,7 @@ $ ycli sync validate [OPTIONS] [PATHS]... **Options**: * `--kind TEXT`: Keep the files of this kind, e.g. wiki/page (repeatable). -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -129,7 +129,7 @@ $ ycli sync pull [OPTIONS] PATH * `--kind TEXT`: Keep the files of this kind, e.g. wiki/page (repeatable). * `--show-unchanged`: Also list the files that were the same. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -162,7 +162,7 @@ $ ycli sync diff [OPTIONS] [PATHS]... * `--show-unchanged`: Also list the files with nothing to push. * `--show-secrets`: Show secrets as they are, not masked. * `--exit-code`: Exit with 7 when there is something to push, 8 when a file and its object went apart. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -196,7 +196,7 @@ $ ycli sync push [OPTIONS] [PATHS]... * `--show-unchanged`: Also list the files with nothing to push. * `--prune COMMIT`: Also delete the objects whose files were deleted since this commit. * `--on-error [fail|abort]`: After a file fails: go on to the next, or end the run. [default: fail] -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. diff --git a/docs/en/reference/cli/tracker.md b/docs/en/reference/cli/tracker.md index 17318f804..97f940c6c 100644 --- a/docs/en/reference/cli/tracker.md +++ b/docs/en/reference/cli/tracker.md @@ -87,7 +87,7 @@ $ ycli tracker auth status [OPTIONS] **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -125,7 +125,7 @@ $ ycli tracker me get [OPTIONS] **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -181,7 +181,7 @@ $ ycli tracker issues get [OPTIONS] ISSUE_KEY * `--expand TEXT`: Extra blocks to include in the reply. * `--fields TEXT`: Comma-separated fields to include in the reply. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -209,7 +209,7 @@ $ ycli tracker issues list [OPTIONS] * `--limit INTEGER RANGE`: Max items to fetch (default: the configured cap). [x>=1] * `--all`: Fetch everything, ignoring the cap. * `--next TOKEN`: Go on from where an earlier run stopped, with the token it printed: the token carries its listing; give what is required again, and nothing else but the limit. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -242,7 +242,7 @@ $ ycli tracker issues search [OPTIONS] QUERY * `--scroll-type TEXT`: Scroll through the results (no 10 000 cap). Known values: sorted, unsorted. * `--per-scroll INTEGER`: Issues per scroll page (1000 at most). * `--scroll-ttl-millis INTEGER`: How long the scroll stays open, in milliseconds. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -268,7 +268,7 @@ $ ycli tracker issues count [OPTIONS] * `--query TEXT`: TQL query (mutually exclusive with filters). * `--queue TEXT`: Queue key. * `--status TEXT`: Status key. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -296,7 +296,7 @@ $ ycli tracker issues create [OPTIONS] * `--description TEXT`: Markdown body — pass "$(cat file.md)". * `--tag TEXT`: Tag (repeatable). * `--notify / --no-notify`: Notify the users in the fields of the object (the API notifies by default). -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -326,7 +326,7 @@ $ ycli tracker issues update [OPTIONS] ISSUE_KEY * `--parent TEXT`: New parent issue key. * `--description TEXT`: New markdown body — pass "$(cat file.md)"; "" clears it. * `--tag TEXT`: Tag (repeatable). -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -356,7 +356,7 @@ $ ycli tracker issues move [OPTIONS] ISSUE_KEY QUEUE * `--move-all-fields / --no-move-all-fields`: Keep the versions, components and projects the new queue also has. * `--notify / --no-notify`: Notify the users in the fields of the object (the API notifies by default). * `--notify-author / --no-notify-author`: Notify the author of the change (the API does not by default). -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -385,7 +385,7 @@ $ ycli tracker issues suggest [OPTIONS] INPUT * `--fields TEXT`: Comma-separated fields to include in the reply. * `--expand TEXT`: Extra blocks to include in the reply. * `--embed TEXT`: Blocks of --expand to return in more detail. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -408,7 +408,7 @@ $ ycli tracker issues scroll-clear [OPTIONS] **Options**: * `--pair TEXT`: scrollId=scrollToken pair to release (repeatable). -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -433,7 +433,7 @@ $ ycli tracker issues update-bulk [OPTIONS] * `-F, --field TEXT`: Field to set, key=value (JSON-coerced; repeatable). key[sub]=value nests, and key=@FILE (@- for stdin) gives the file's text; a string that starts with @ goes in JSON quotes. * `--notify / --no-notify`: Notify affected users. * `--wait / --no-wait`: Poll to a terminal status before printing. [default: wait] -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -463,7 +463,7 @@ $ ycli tracker issues move-bulk [OPTIONS] QUEUE * `--initial-status / --no-initial-status`: Reset each issue's status to the initial one. * `--notify / --no-notify`: Notify affected users. * `--wait / --no-wait`: Poll to a terminal status before printing. [default: wait] -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -491,7 +491,7 @@ $ ycli tracker issues transition-bulk [OPTIONS] TRANSITION * `-F, --field TEXT`: Field to set, key=value (JSON-coerced; repeatable). key[sub]=value nests, and key=@FILE (@- for stdin) gives the file's text; a string that starts with @ goes in JSON quotes. * `--notify / --no-notify`: Notify affected users. * `--wait / --no-wait`: Poll to a terminal status before printing. [default: wait] -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -517,7 +517,7 @@ $ ycli tracker issues import [OPTIONS] * `--key TEXT`: Explicit issue key (must belong to the queue). * `--description TEXT`: Issue description (YFM). * `--assignee TEXT`: Assignee login or id. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -569,7 +569,7 @@ $ ycli tracker comments list [OPTIONS] ISSUE_KEY * `--all`: Fetch everything, ignoring the cap. * `--next TOKEN`: Go on from where an earlier run stopped, with the token it printed: the token carries its listing; give what is required again, and nothing else but the limit. * `--expand TEXT`: Extra blocks to include in the reply. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -595,7 +595,7 @@ $ ycli tracker comments get [OPTIONS] ISSUE_KEY COMMENT_ID **Options**: * `--expand TEXT`: Extra fields: attachments, html or all (comma-separated). -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -620,7 +620,7 @@ $ ycli tracker comments create [OPTIONS] ISSUE_KEY **Options**: * `--text TEXT`: Comment text — pass "$(cat note.md)" for markdown. [required] -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -646,7 +646,7 @@ $ ycli tracker comments update [OPTIONS] ISSUE_KEY COMMENT_ID **Options**: * `--text TEXT`: New comment text (YFM markdown supported). [required] -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -671,7 +671,7 @@ $ ycli tracker comments delete [OPTIONS] ISSUE_KEY COMMENT_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -697,7 +697,7 @@ $ ycli tracker comments reactions-create [OPTIONS] ISSUE_KEY COMMENT_ID NAME **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -724,7 +724,7 @@ $ ycli tracker comments import [OPTIONS] ISSUE_KEY * `--text TEXT`: Comment text. [required] * `--created-at TEXT`: Original creation time, YYYY-MM-DDThh:mm:ss.sss±hhmm. [required] * `--created-by TEXT`: Login or id of the original author. [required] -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -770,7 +770,7 @@ $ ycli tracker links list [OPTIONS] ISSUE_KEY **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -799,7 +799,7 @@ $ ycli tracker links list-filtered [OPTIONS] ISSUE_KEY * `--limit INTEGER RANGE`: Max items to fetch (default: the configured cap). [x>=1] * `--all`: Fetch everything, ignoring the cap. * `--next TOKEN`: Go on from where an earlier run stopped, with the token it printed: the token carries its listing; give what is required again, and nothing else but the limit. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -825,7 +825,7 @@ $ ycli tracker links create [OPTIONS] ISSUE_KEY RELATIONSHIP TARGET **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -850,7 +850,7 @@ $ ycli tracker links delete [OPTIONS] ISSUE_KEY LINK_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -878,7 +878,7 @@ $ ycli tracker links import [OPTIONS] ISSUE_KEY * `--issue TEXT`: Key or id of the issue to link to. [required] * `--created-at TEXT`: Original creation time, YYYY-MM-DDThh:mm:ss.sss±hhmm. [required] * `--created-by TEXT`: Login or id of the original author. [required] -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -921,7 +921,7 @@ $ ycli tracker transitions list [OPTIONS] ISSUE_KEY **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -946,7 +946,7 @@ $ ycli tracker transitions execute [OPTIONS] ISSUE_KEY ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -997,7 +997,7 @@ $ ycli tracker worklog list [OPTIONS] ISSUE_KEY * `--limit INTEGER RANGE`: Max items to fetch (default: the configured cap). [x>=1] * `--all`: Fetch everything, ignoring the cap. * `--next TOKEN`: Go on from where an earlier run stopped, with the token it printed: the token carries its listing; give what is required again, and nothing else but the limit. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1020,7 +1020,7 @@ $ ycli tracker worklog search [OPTIONS] * `--created-by TEXT`: Author login or id. * `--created-from TEXT`: Range start, YYYY-MM-DDThh:mm:ss. * `--created-to TEXT`: Range end, YYYY-MM-DDThh:mm:ss. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1043,7 +1043,7 @@ $ ycli tracker worklog list-global [OPTIONS] * `--created-by TEXT`: Author login or id. * `--created-from TEXT`: Range start, YYYY-MM-DDThh:mm:ss. * `--created-to TEXT`: Range end, YYYY-MM-DDThh:mm:ss. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1070,7 +1070,7 @@ $ ycli tracker worklog create [OPTIONS] ISSUE_KEY * `--duration TEXT`: Time spent, ISO-8601 duration (e.g. PT2H, PT300M, P1DT3H). [required] * `--start TEXT`: Work start time, YYYY-MM-DDThh:mm:ss.sss±hhmm. [required] * `--comment TEXT`: Optional note saved in the time report. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1097,7 +1097,7 @@ $ ycli tracker worklog update [OPTIONS] ISSUE_KEY RECORD_ID * `--duration TEXT`: New time spent, ISO-8601 duration. * `--comment TEXT`: New note for the time report. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1122,7 +1122,7 @@ $ ycli tracker worklog delete [OPTIONS] ISSUE_KEY RECORD_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1151,7 +1151,7 @@ $ ycli tracker worklog import [OPTIONS] ISSUE_KEY * `--created-by TEXT`: Login or id of the original author. [required] * `--start TEXT`: Work start time, YYYY-MM-DDThh:mm:ss.sss±hhmm. [required] * `--comment TEXT`: Optional note saved in the time report. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1199,7 +1199,7 @@ $ ycli tracker changelog list [OPTIONS] ISSUE_KEY * `--field TEXT`: Only changes of this field, e.g. status. * `--change-type TEXT`: Only changes of this type, e.g. IssueWorkflow. * `--sort TEXT`: Order of the changes. Known values: asc, desc. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1244,7 +1244,7 @@ $ ycli tracker checklists list [OPTIONS] ISSUE_KEY **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1273,7 +1273,7 @@ $ ycli tracker checklists create [OPTIONS] ISSUE_KEY * `--assignee TEXT`: Assignee login or id. * `--deadline TEXT`: Deadline date, YYYY-MM-DDThh:mm:ss.sss±hhmm. * `--deadline-type TEXT`: Deadline kind: date or quarter; the API requires it. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1303,7 +1303,7 @@ $ ycli tracker checklists update [OPTIONS] ISSUE_KEY ITEM_ID * `--assignee TEXT`: Assignee login or id. * `--deadline TEXT`: Deadline date, YYYY-MM-DDThh:mm:ss.sss±hhmm. * `--deadline-type TEXT`: Deadline kind: date or quarter; the API requires it. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1328,7 +1328,7 @@ $ ycli tracker checklists delete [OPTIONS] ISSUE_KEY ITEM_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1352,7 +1352,7 @@ $ ycli tracker checklists clear [OPTIONS] ISSUE_KEY **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1398,7 +1398,7 @@ $ ycli tracker columns list [OPTIONS] BOARD_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1423,7 +1423,7 @@ $ ycli tracker columns get [OPTIONS] BOARD_ID COLUMN_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1449,7 +1449,7 @@ $ ycli tracker columns create [OPTIONS] BOARD_ID * `--name TEXT`: Name of the new column. [required] * `--status TEXT`: Status key for the column (repeatable). [required] -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1476,7 +1476,7 @@ $ ycli tracker columns update [OPTIONS] BOARD_ID COLUMN_ID * `--name TEXT`: New column name. * `--status TEXT`: Replacement status key (repeatable). -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1501,7 +1501,7 @@ $ ycli tracker columns delete [OPTIONS] BOARD_ID COLUMN_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1542,7 +1542,7 @@ $ ycli tracker priorities list [OPTIONS] **Options**: * `--localized / --no-localized`: --no-localized returns the names in every language. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1567,7 +1567,7 @@ $ ycli tracker priorities create [OPTIONS] * `--name-ru TEXT`: Priority name in Russian. * `--name-en TEXT`: Priority name in English. * `--description TEXT`: Description of the priority. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1595,7 +1595,7 @@ $ ycli tracker priorities update [OPTIONS] PRIORITY_ID * `--name-en TEXT`: New priority name in English. * `--description TEXT`: New description of the priority. * `--version INTEGER`: Current version for the optimistic lock (?version=). -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1635,7 +1635,7 @@ $ ycli tracker issuetypes list [OPTIONS] **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1658,7 +1658,7 @@ $ ycli tracker issuetypes create [OPTIONS] * `--key TEXT`: Key of the new issue type. [required] * `--name-ru TEXT`: Issue type name in Russian. * `--name-en TEXT`: Issue type name in English. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1685,7 +1685,7 @@ $ ycli tracker issuetypes update [OPTIONS] ISSUE_TYPE_ID * `--name-ru TEXT`: New issue type name in Russian. * `--name-en TEXT`: New issue type name in English. * `--version INTEGER`: Current version for the optimistic lock (?version=). -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1723,7 +1723,7 @@ $ ycli tracker linktypes list [OPTIONS] **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1767,7 +1767,7 @@ $ ycli tracker users get [OPTIONS] LOGIN_OR_ID **Options**: * `--expand TEXT`: Extra data to include, e.g. groups. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1791,7 +1791,7 @@ $ ycli tracker users list [OPTIONS] * `--all`: Fetch everything, ignoring the cap. * `--next TOKEN`: Go on from where an earlier run stopped, with the token it printed: the token carries its listing; give what is required again, and nothing else but the limit. * `--expand TEXT`: Extra data to include, e.g. groups. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1831,7 +1831,7 @@ $ ycli tracker statuses list [OPTIONS] **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1855,7 +1855,7 @@ $ ycli tracker statuses create [OPTIONS] * `--type TEXT`: Status type. Known values: new, inProgress, paused, done, cancelled. [required] * `--name-ru TEXT`: Status name in Russian. * `--name-en TEXT`: Status name in English. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1885,7 +1885,7 @@ $ ycli tracker statuses update [OPTIONS] STATUS_ID * `--type TEXT`: New status type. Known values: new, inProgress, paused, done, cancelled. * `--order INTEGER`: New display-order weight. * `--version INTEGER`: Current version for the optimistic lock (?version=). -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1925,7 +1925,7 @@ $ ycli tracker resolutions list [OPTIONS] **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1948,7 +1948,7 @@ $ ycli tracker resolutions create [OPTIONS] * `--key TEXT`: Key of the new resolution (Latin, lower-case start). [required] * `--name-ru TEXT`: Resolution name in Russian. * `--name-en TEXT`: Resolution name in English. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1977,7 +1977,7 @@ $ ycli tracker resolutions update [OPTIONS] RESOLUTION_ID * `--description TEXT`: New resolution description. * `--order INTEGER`: New display-order weight. * `--version INTEGER`: Current version for the optimistic lock (?version=). -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -2034,7 +2034,7 @@ $ ycli tracker queues list [OPTIONS] * `--all`: Fetch everything, ignoring the cap. * `--next TOKEN`: Go on from where an earlier run stopped, with the token it printed: the token carries its listing; give what is required again, and nothing else but the limit. * `--expand TEXT`: Extra blocks to include in the reply. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -2059,7 +2059,7 @@ $ ycli tracker queues get [OPTIONS] QUEUE_ID **Options**: * `--expand TEXT`: Extra blocks to include, e.g. all or types,team,versions. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -2083,7 +2083,7 @@ $ ycli tracker queues tags-list [OPTIONS] QUEUE_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -2107,7 +2107,7 @@ $ ycli tracker queues versions-list [OPTIONS] QUEUE_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -2131,7 +2131,7 @@ $ ycli tracker queues fields-list [OPTIONS] QUEUE_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -2157,7 +2157,7 @@ $ ycli tracker queues create [OPTIONS] * `--default-type TEXT`: Key/id of the default issue type. [required] * `--default-priority TEXT`: Key/id of the default priority. [required] * `--issue-type-config TEXT`: issueTypesConfig row as JSON, e.g. '{"issueType":"task","workflow":"oicn"}' (repeatable; a queue needs at least one). [required] -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -2181,7 +2181,7 @@ $ ycli tracker queues delete [OPTIONS] QUEUE_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -2205,7 +2205,7 @@ $ ycli tracker queues restore [OPTIONS] QUEUE_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -2240,7 +2240,7 @@ $ ycli tracker queues permissions-update [OPTIONS] QUEUE_ID * `--write TEXT`: Edit-issue permission scope as a JSON object. * `--read TEXT`: Read-issue permission scope as a JSON object. * `--grant TEXT`: Change-settings permission scope as a JSON object. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -2265,7 +2265,7 @@ $ ycli tracker queues tags-delete [OPTIONS] QUEUE_ID TAG **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -2290,7 +2290,7 @@ $ ycli tracker queues versions-create [OPTIONS] * `--description TEXT`: Description of the version. * `--start-date TEXT`: Version start date (YYYY-MM-DD). * `--due-date TEXT`: Version due date (YYYY-MM-DD). -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -2315,7 +2315,7 @@ $ ycli tracker queues versions-get [OPTIONS] VERSION_ID **Options**: * `--fields TEXT`: Comma-separated fields to return, e.g. name,dueDate,released. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -2344,7 +2344,7 @@ $ ycli tracker queues versions-update [OPTIONS] VERSION_ID * `--start-date TEXT`: New version start date (YYYY-MM-DD). * `--due-date TEXT`: New version due date (YYYY-MM-DD). * `--fields TEXT`: Comma-separated fields to return, e.g. name,dueDate,released. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -2368,7 +2368,7 @@ $ ycli tracker queues versions-delete [OPTIONS] VERSION_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -2393,7 +2393,7 @@ $ ycli tracker queues user-permissions-get [OPTIONS] QUEUE_ID USER **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -2418,7 +2418,7 @@ $ ycli tracker queues group-permissions-get [OPTIONS] QUEUE_ID GROUP_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -2463,7 +2463,7 @@ $ ycli tracker localfields list [OPTIONS] QUEUE_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -2488,7 +2488,7 @@ $ ycli tracker localfields get [OPTIONS] QUEUE_ID FIELD_KEY **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -2522,7 +2522,7 @@ $ ycli tracker localfields create [OPTIONS] QUEUE_ID * `--readonly / --no-readonly`: Whether the field value is read-only. * `--option TEXT`: Allowed drop-down value (repeatable). * `--options-type TEXT`: Drop-down provider type for --option values. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -2557,7 +2557,7 @@ $ ycli tracker localfields update [OPTIONS] QUEUE_ID FIELD_KEY * `--hidden / --no-hidden`: Fully hide the field. * `--option TEXT`: Allowed drop-down value (repeatable). * `--options-type TEXT`: Drop-down provider type for --option values. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -2600,7 +2600,7 @@ $ ycli tracker fields list [OPTIONS] **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -2624,7 +2624,7 @@ $ ycli tracker fields get [OPTIONS] FIELD_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -2656,7 +2656,7 @@ $ ycli tracker fields create [OPTIONS] * `--readonly / --no-readonly`: Whether the field value is read-only. * `--option TEXT`: Allowed drop-down value (repeatable). * `--options-type TEXT`: Drop-down provider type for --option values. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -2685,7 +2685,7 @@ $ ycli tracker fields update [OPTIONS] FIELD_ID * `--option TEXT`: Allowed drop-down value (repeatable). * `--options-type TEXT`: Drop-down provider type for --option values. * `--version INTEGER`: Current version for the optimistic lock (?version=). -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -2709,7 +2709,7 @@ $ ycli tracker fields categories-create [OPTIONS] * `--name-ru TEXT`: Category name in Russian. * `--name-en TEXT`: Category name in English. * `--description TEXT`: Description of the category. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -2738,7 +2738,7 @@ $ ycli tracker fields categories-update [OPTIONS] CATEGORY_ID * `--order INTEGER`: New display-order weight. * `--description TEXT`: New description of the category. * `--version INTEGER`: Current version for the optimistic lock (?version=). -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -2783,7 +2783,7 @@ $ ycli tracker components list [OPTIONS] **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -2808,7 +2808,7 @@ $ ycli tracker components create [OPTIONS] * `--description TEXT`: Text description of the component. * `--lead TEXT`: Login of the component's owner (lead). * `--assign-auto / --no-assign-auto`: Auto-assign the owner to issues. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -2837,7 +2837,7 @@ $ ycli tracker components update [OPTIONS] COMPONENT_ID * `--lead TEXT`: New login of the component's owner (lead). * `--assign-auto / --no-assign-auto`: Auto-assign the owner to issues. * `--version INTEGER`: Current version for the optimistic lock (?version=). -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -2862,7 +2862,7 @@ $ ycli tracker components list-for-queue [OPTIONS] QUEUE_ID **Options**: * `--fields TEXT`: Comma-separated fields to return, e.g. name,description,lead. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -2887,7 +2887,7 @@ $ ycli tracker components get [OPTIONS] COMPONENT_ID **Options**: * `--fields TEXT`: Comma-separated fields to return, e.g. name,description,lead. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -2911,7 +2911,7 @@ $ ycli tracker components delete [OPTIONS] COMPONENT_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -2936,7 +2936,7 @@ $ ycli tracker components user-permissions-get [OPTIONS] COMPONENT_ID USER **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -2961,7 +2961,7 @@ $ ycli tracker components group-permissions-get [OPTIONS] COMPONENT_ID GROUP_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -3006,7 +3006,7 @@ $ ycli tracker filters get [OPTIONS] FILTER_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -3029,7 +3029,7 @@ $ ycli tracker filters create [OPTIONS] * `--name TEXT`: Display name of the new filter. [required] * `--query TEXT`: Filtering conditions in Tracker query language. * `--filter TEXT`: Filtering conditions as a JSON object. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -3056,7 +3056,7 @@ $ ycli tracker filters update [OPTIONS] FILTER_ID * `--name TEXT`: New display name of the filter. * `--query TEXT`: New filtering conditions in query language. * `--filter TEXT`: Replacement filtering conditions as a JSON object. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -3080,7 +3080,7 @@ $ ycli tracker filters delete [OPTIONS] FILTER_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -3118,7 +3118,7 @@ $ ycli tracker applications list [OPTIONS] **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -3163,7 +3163,7 @@ $ ycli tracker boards list [OPTIONS] * `--limit INTEGER RANGE`: Max items to fetch (default: the configured cap). [x>=1] * `--all`: Fetch everything, ignoring the cap. * `--next TOKEN`: Go on from where an earlier run stopped, with the token it printed: the token carries its listing; give what is required again, and nothing else but the limit. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -3187,7 +3187,7 @@ $ ycli tracker boards get [OPTIONS] BOARD_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -3212,7 +3212,7 @@ $ ycli tracker boards create [OPTIONS] * `--permissions TEXT`: Access template: 'private' or 'public'. * `--backlog / --no-backlog`: Enable the board backlog; the API takes it together with --sprints only. * `--sprints / --no-sprints`: Enable board sprints; the API takes them together with --backlog only. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -3239,7 +3239,7 @@ $ ycli tracker boards update [OPTIONS] BOARD_ID * `--name TEXT`: New board name. * `--backlog / --no-backlog`: Enable the board backlog; the API takes it together with --sprints only. * `--sprints / --no-sprints`: Enable board sprints; the API takes them together with --backlog only. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -3263,7 +3263,7 @@ $ ycli tracker boards delete [OPTIONS] BOARD_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -3311,7 +3311,7 @@ $ ycli tracker sprints list [OPTIONS] BOARD_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -3335,7 +3335,7 @@ $ ycli tracker sprints get [OPTIONS] SPRINT_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -3359,7 +3359,7 @@ $ ycli tracker sprints create [OPTIONS] * `--name TEXT`: Name of the new sprint. [required] * `--start-date TEXT`: Planned start date (YYYY-MM-DD). [required] * `--end-date TEXT`: Planned end date (YYYY-MM-DD). [required] -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -3388,7 +3388,7 @@ $ ycli tracker sprints update [OPTIONS] SPRINT_ID * `--end-date TEXT`: New end date (YYYY-MM-DD). * `--status TEXT`: New status. Known values: draft, in_progress, released, archived. * `--version INTEGER`: Current sprint version for the optimistic lock (?version=). -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -3412,7 +3412,7 @@ $ ycli tracker sprints delete [OPTIONS] SPRINT_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -3437,7 +3437,7 @@ $ ycli tracker sprints start [OPTIONS] SPRINT_ID **Options**: * `--version INTEGER`: Current sprint version for the optimistic lock (?version=). -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -3462,7 +3462,7 @@ $ ycli tracker sprints archive [OPTIONS] SPRINT_ID **Options**: * `--version INTEGER`: Current sprint version for the optimistic lock (?version=). -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -3512,7 +3512,7 @@ $ ycli tracker attachments list [OPTIONS] ISSUE **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -3539,7 +3539,7 @@ $ ycli tracker attachments download [OPTIONS] ISSUE FILE_ID FILENAME **Options**: * `-O, --output TEXT`: Write to this path; omit or '-' for stdout. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -3565,7 +3565,7 @@ $ ycli tracker attachments thumbnails-download [OPTIONS] ISSUE FILE_ID **Options**: * `-O, --output TEXT`: Write to this path; omit or '-' for stdout. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -3590,7 +3590,7 @@ $ ycli tracker attachments get [OPTIONS] ISSUE FILE_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -3615,7 +3615,7 @@ $ ycli tracker attachments delete [OPTIONS] ISSUE FILE_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -3641,7 +3641,7 @@ $ ycli tracker attachments upload [OPTIONS] ISSUE FILE_PATH **Options**: * `--rename-to TEXT`: Store the file under this name instead of its own. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -3666,7 +3666,7 @@ $ ycli tracker attachments upload-temp [OPTIONS] FILE_PATH **Options**: * `--rename-to TEXT`: Store the file under this name instead of its own. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -3694,7 +3694,7 @@ $ ycli tracker attachments import [OPTIONS] ISSUE_KEY PATH * `--created-at TEXT`: Original creation time, YYYY-MM-DDThh:mm:ss.sss±hhmm. [required] * `--created-by TEXT`: Login or id of the original author. [required] * `--filename TEXT`: Override the attachment name (default: basename). -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -3723,7 +3723,7 @@ $ ycli tracker attachments import-for-comment [OPTIONS] ISSUE_KEY COMMENT_ID PAT * `--created-at TEXT`: Original creation time, YYYY-MM-DDThh:mm:ss.sss±hhmm. [required] * `--created-by TEXT`: Login or id of the original author. [required] * `--filename TEXT`: Override the attachment name (default: basename). -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -3769,7 +3769,7 @@ $ ycli tracker macros list [OPTIONS] QUEUE_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -3794,7 +3794,7 @@ $ ycli tracker macros get [OPTIONS] QUEUE_ID MACRO_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -3821,7 +3821,7 @@ $ ycli tracker macros create [OPTIONS] QUEUE_ID * `--name TEXT`: Name of the new macro. [required] * `--body TEXT`: Comment text created when the macro runs. * `--issue-update TEXT`: Field→value issue changes as a JSON object. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -3849,7 +3849,7 @@ $ ycli tracker macros update [OPTIONS] QUEUE_ID MACRO_ID * `--name TEXT`: New name of the macro. * `--body TEXT`: New comment text created when the macro runs. * `--issue-update TEXT`: Replacement field→value issue changes as a JSON object. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -3874,7 +3874,7 @@ $ ycli tracker macros delete [OPTIONS] QUEUE_ID MACRO_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -3923,7 +3923,7 @@ $ ycli tracker triggers list [OPTIONS] QUEUE_ID * `--limit INTEGER RANGE`: Max items to fetch (default: the configured cap). [x>=1] * `--all`: Fetch everything, ignoring the cap. * `--next TOKEN`: Go on from where an earlier run stopped, with the token it printed: the token carries its listing; give what is required again, and nothing else but the limit. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -3948,7 +3948,7 @@ $ ycli tracker triggers get [OPTIONS] QUEUE_ID TRIGGER_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -3979,7 +3979,7 @@ $ ycli tracker triggers create [OPTIONS] QUEUE_ID * `--action TEXT`: Trigger action as a JSON object (repeatable). * `--condition TEXT`: Trigger condition as a JSON object (repeatable). * `--active / --inactive`: Start active or disabled. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -4009,7 +4009,7 @@ $ ycli tracker triggers update [OPTIONS] QUEUE_ID TRIGGER_ID * `--condition TEXT`: Trigger condition as a JSON object (repeatable). * `--active / --inactive`: Activate or disable the trigger. * `--version INTEGER`: Current trigger version (optimistic lock). -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -4038,7 +4038,7 @@ $ ycli tracker triggers webhook-log-list [OPTIONS] QUEUE_ID TRIGGER_ID * `--limit INTEGER`: Max records (API default 10, max 100). * `--date-from TEXT`: Range start (YYYY-MM-DDThh:mm:ss.sss±hhmm). * `--date-to TEXT`: Range end (YYYY-MM-DDThh:mm:ss.sss±hhmm). -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -4084,7 +4084,7 @@ $ ycli tracker autoactions get [OPTIONS] QUEUE_ID ACTION_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -4119,7 +4119,7 @@ $ ycli tracker autoactions create [OPTIONS] QUEUE_ID * `--notify / --no-notify`: Send notifications when the autoaction runs. * `--interval-millis INTEGER`: Run interval in ms (default 3600000). * `--calendar-id INTEGER`: Working-calendar id for the active window. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -4144,7 +4144,7 @@ $ ycli tracker autoactions logs-list [OPTIONS] QUEUE_ID ACTION_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -4170,7 +4170,7 @@ $ ycli tracker autoactions logs-get [OPTIONS] QUEUE_ID ACTION_ID RUN_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -4213,7 +4213,7 @@ $ ycli tracker bulk get [OPTIONS] BULK_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -4240,7 +4240,7 @@ $ ycli tracker bulk issues-list [OPTIONS] BULK_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -4284,7 +4284,7 @@ $ ycli tracker remotelinks list [OPTIONS] ISSUE_KEY **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -4312,7 +4312,7 @@ $ ycli tracker remotelinks create [OPTIONS] ISSUE_KEY * `--origin TEXT`: Identifier of an external application the organization has (`tracker applications list`). [required] * `--relationship TEXT`: Link type; RELATES is recommended, an unknown one is refused. [required] * `--backlink / --no-backlink`: Also create the mirror link in the app. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -4337,7 +4337,7 @@ $ ycli tracker remotelinks delete [OPTIONS] ISSUE_KEY LINK_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -4379,7 +4379,7 @@ $ ycli tracker dashboards create [OPTIONS] * `--name TEXT`: Dashboard name. [required] * `--layout TEXT`: Layout mode, e.g. two-columns. * `--owner TEXT`: Owner login or id (defaults to creator). -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -4408,7 +4408,7 @@ $ ycli tracker dashboards widgets-create-cycle-time [OPTIONS] DASHBOARD_ID * `--from-status TEXT`: Status key work starts from (repeatable). * `--to-status TEXT`: Status key work ends at (repeatable). * `--mode TEXT`: Display mode, e.g. common-lines. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -4469,7 +4469,7 @@ $ ycli tracker entities get [OPTIONS] ENTITY_TYPE ID * `--expand TEXT`: Extra info, e.g. attachments. * `--fields TEXT`: Comma-separated extra fields to include. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -4504,7 +4504,7 @@ $ ycli tracker entities create [OPTIONS] ENTITY_TYPE * `--team-user TEXT`: Participant id/login (repeatable). * `--tag TEXT`: Tag (repeatable). * `--fields TEXT`: Comma-separated fields to include in the reply. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -4542,7 +4542,7 @@ $ ycli tracker entities update [OPTIONS] ENTITY_TYPE ID * `--comment TEXT`: Comment to add with the change. * `--expand TEXT`: Extra blocks to include in the reply. * `--fields TEXT`: Comma-separated fields to include in the reply. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -4568,7 +4568,7 @@ $ ycli tracker entities delete [OPTIONS] ENTITY_TYPE ID **Options**: * `--with-board / --no-with-board`: Also delete the entity's board. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -4601,7 +4601,7 @@ $ ycli tracker entities search [OPTIONS] ENTITY_TYPE * `--limit INTEGER RANGE`: Max items to fetch (default: the configured cap). [x>=1] * `--all`: Fetch everything, ignoring the cap. * `--next TOKEN`: Go on from where an earlier run stopped, with the token it printed: the token carries its listing; give what is required again, and nothing else but the limit. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -4632,7 +4632,7 @@ $ ycli tracker entities events-list [OPTIONS] ENTITY_TYPE ID * `--selected TEXT`: Event id to build the list around. * `--new-events-on-top / --no-new-events-on-top`: Newest events first. * `--direction TEXT`: forward (the default) or backward. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -4657,7 +4657,7 @@ $ ycli tracker entities permissions-get [OPTIONS] ENTITY_TYPE ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -4687,7 +4687,7 @@ $ ycli tracker entities permissions-update [OPTIONS] ENTITY_TYPE ID **Options**: * `--acl TEXT`: ACL change ACTION= where ACTION is grant or revoke, e.g. grant={"READ":{"users":["8000000000000002"]}} (repeatable). -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -4712,7 +4712,7 @@ $ ycli tracker entities permissions-get-direct [OPTIONS] ENTITY_TYPE ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -4739,7 +4739,7 @@ $ ycli tracker entities permissions-update-direct [OPTIONS] ENTITY_TYPE ID * `--grant TEXT`: Rights to add as JSON, e.g. '{"READ":{"users":["ann"]}}'. * `--revoke TEXT`: Rights to remove as JSON, e.g. '{"GRANT":{"roles":["OWNER"]}}'. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -4766,7 +4766,7 @@ $ ycli tracker entities update-bulk [OPTIONS] ENTITY_TYPE * `--entity TEXT`: Entity id (repeatable). [required] * `--comment TEXT`: Comment to add to every entity. * `-F, --field TEXT`: Field to set on every entity: key=value (JSON-coerced; repeatable). key[sub]=value nests, and key=@FILE (@- for stdin) gives the file's text; a string that starts with @ goes in JSON quotes. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -4789,7 +4789,7 @@ $ ycli tracker entities bulk-get [OPTIONS] BULK_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -4866,7 +4866,7 @@ $ ycli tracker entities comments list [OPTIONS] ENTITY_TYPE ID * `--all`: Fetch everything, ignoring the cap. * `--next TOKEN`: Go on from where an earlier run stopped, with the token it printed: the token carries its listing; give what is required again, and nothing else but the limit. * `--expand TEXT`: Extra blocks to include in the reply. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -4893,7 +4893,7 @@ $ ycli tracker entities comments get [OPTIONS] ENTITY_TYPE ID COMMENT_ID **Options**: * `--expand TEXT`: Extra blocks to include in the reply. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -4924,7 +4924,7 @@ $ ycli tracker entities comments create [OPTIONS] ENTITY_TYPE ID * `--is-add-to-followers / --no-is-add-to-followers`: Add the comment's author to the followers (the API adds by default). * `--notify / --no-notify`: Notify the users in the fields of the object (the API notifies by default). * `--notify-author / --no-notify-author`: Notify the author of the change (the API does not by default). -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -4955,7 +4955,7 @@ $ ycli tracker entities comments update [OPTIONS] ENTITY_TYPE ID COMMENT_ID * `--is-add-to-followers / --no-is-add-to-followers`: Add the comment's author to the followers (the API adds by default). * `--notify / --no-notify`: Notify the users in the fields of the object (the API notifies by default). * `--notify-author / --no-notify-author`: Notify the author of the change (the API does not by default). -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -4983,7 +4983,7 @@ $ ycli tracker entities comments delete [OPTIONS] ENTITY_TYPE ID COMMENT_ID * `--notify / --no-notify`: Notify the users in the fields of the object (the API notifies by default). * `--notify-author / --no-notify-author`: Notify the author of the change (the API does not by default). -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -5036,7 +5036,7 @@ $ ycli tracker entities checklists create [OPTIONS] ENTITY_TYPE ID * `--fields TEXT`: Comma-separated fields to include in the reply. * `--notify / --no-notify`: Notify the users in the fields of the object (the API notifies by default). * `--notify-author / --no-notify-author`: Notify the author of the change (the API does not by default). -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -5069,7 +5069,7 @@ $ ycli tracker entities checklists update [OPTIONS] ENTITY_TYPE ID * `--fields TEXT`: Comma-separated fields to include in the reply. * `--notify / --no-notify`: Notify the users in the fields of the object (the API notifies by default). * `--notify-author / --no-notify-author`: Notify the author of the change (the API does not by default). -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -5104,7 +5104,7 @@ $ ycli tracker entities checklists items-update [OPTIONS] ENTITY_TYPE ID ITEM_ID * `--fields TEXT`: Comma-separated fields to include in the reply. * `--notify / --no-notify`: Notify the users in the fields of the object (the API notifies by default). * `--notify-author / --no-notify-author`: Notify the author of the change (the API does not by default). -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -5134,7 +5134,7 @@ $ ycli tracker entities checklists items-delete [OPTIONS] ENTITY_TYPE ID ITEM_ID * `--fields TEXT`: Comma-separated fields to include in the reply. * `--notify / --no-notify`: Notify the users in the fields of the object (the API notifies by default). * `--notify-author / --no-notify-author`: Notify the author of the change (the API does not by default). -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -5163,7 +5163,7 @@ $ ycli tracker entities checklists delete [OPTIONS] ENTITY_TYPE ID * `--fields TEXT`: Comma-separated fields to include in the reply. * `--notify / --no-notify`: Notify the users in the fields of the object (the API notifies by default). * `--notify-author / --no-notify-author`: Notify the author of the change (the API does not by default). -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -5194,7 +5194,7 @@ $ ycli tracker entities checklists move [OPTIONS] ENTITY_TYPE ID ITEM_ID * `--fields TEXT`: Comma-separated fields to include in the reply. * `--notify / --no-notify`: Notify the users in the fields of the object (the API notifies by default). * `--notify-author / --no-notify-author`: Notify the author of the change (the API does not by default). -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -5240,7 +5240,7 @@ $ ycli tracker entities links list [OPTIONS] ENTITY_TYPE ID **Options**: * `--fields TEXT`: Comma-separated fields to include in the reply. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -5267,7 +5267,7 @@ $ ycli tracker entities links create [OPTIONS] ENTITY_TYPE ID * `--relationship TEXT`: Link type, e.g. relates, depends on. [required] * `--entity TEXT`: Id of the entity to link to. [required] -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -5293,7 +5293,7 @@ $ ycli tracker entities links delete [OPTIONS] ENTITY_TYPE ID RIGHT **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -5340,7 +5340,7 @@ $ ycli tracker entities attachments list [OPTIONS] ENTITY_TYPE ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -5366,7 +5366,7 @@ $ ycli tracker entities attachments get [OPTIONS] ENTITY_TYPE ID FILE_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -5392,7 +5392,7 @@ $ ycli tracker entities attachments download [OPTIONS] FILE_ID FILENAME **Options**: * `-O, --output TEXT`: Write to this path; omit or '-' for stdout. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -5422,7 +5422,7 @@ $ ycli tracker entities attachments attach [OPTIONS] ENTITY_TYPE ID TEMP_FILE_ID * `--fields TEXT`: Comma-separated fields to include in the reply. * `--notify / --no-notify`: Notify the users in the fields of the object (the API notifies by default). * `--notify-author / --no-notify-author`: Notify the author of the change (the API does not by default). -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -5448,7 +5448,7 @@ $ ycli tracker entities attachments delete [OPTIONS] ENTITY_TYPE ID FILE_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -5492,7 +5492,7 @@ $ ycli tracker workflows list [OPTIONS] **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -5516,7 +5516,7 @@ $ ycli tracker workflows get [OPTIONS] WORKFLOW_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -5540,7 +5540,7 @@ $ ycli tracker workflows list-for-queue [OPTIONS] QUEUE_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -5572,7 +5572,7 @@ $ ycli tracker workflows create [OPTIONS] * `--queue TEXT`: Queue key to bind to (shared if omitted). * `--visual`: Send type VISUAL (the only type today). * `--issue-type-resolution TEXT`: Resolutions of an issue type, e.g. '{"issueType":"task","resolutions":["fixed"]}' (repeatable). -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -5604,7 +5604,7 @@ $ ycli tracker workflows update [OPTIONS] WORKFLOW_ID * `--step TEXT`: Step as a JSON object: status plus actions (repeatable). * `--visual`: Send type VISUAL (the only type today). * `--issue-type-resolution TEXT`: Resolutions of an issue type, e.g. '{"issueType":"task","resolutions":["fixed"]}' (repeatable). -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -5632,7 +5632,7 @@ $ ycli tracker workflows actions-update [OPTIONS] WORKFLOW_ID STATUS ACTION_ID * `--version INTEGER`: Current version of the workflow (optimistic lock); see `workflows get`. [required] * `--action TEXT`: Action fields as a JSON object; Tracker requires name and target, e.g. '{"name":{"ru":"Закрыть"},"target":"closed"}'. [required] -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -5656,7 +5656,7 @@ $ ycli tracker workflows delete [OPTIONS] WORKFLOW_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -5700,7 +5700,7 @@ $ ycli tracker projects list [OPTIONS] **Options**: * `--expand TEXT`: Extra blocks to include, e.g. queues. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -5725,7 +5725,7 @@ $ ycli tracker projects get [OPTIONS] PROJECT_ID **Options**: * `--expand TEXT`: Extra blocks to include, e.g. queues. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -5750,7 +5750,7 @@ $ ycli tracker projects queues-list [OPTIONS] PROJECT_ID **Options**: * `--expand TEXT`: Extra queue blocks, e.g. all or components,versions. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -5779,7 +5779,7 @@ $ ycli tracker projects create [OPTIONS] * `--status TEXT`: Stage of the project. Known values: DRAFT, IN_PROGRESS, LAUNCHED, POSTPONED. * `--start-date TEXT`: Start date (YYYY-MM-DD). * `--end-date TEXT`: End date (YYYY-MM-DD). -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -5812,7 +5812,7 @@ $ ycli tracker projects update [OPTIONS] PROJECT_ID * `--start-date TEXT`: Start date (YYYY-MM-DD). * `--end-date TEXT`: End date (YYYY-MM-DD). * `--expand TEXT`: Extra blocks to include, e.g. queues. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -5836,7 +5836,7 @@ $ ycli tracker projects delete [OPTIONS] PROJECT_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -5886,7 +5886,7 @@ $ ycli tracker gaps create [OPTIONS] * `--full-day / --part-day`: Whether it covers whole days. * `--work-in-absence / --no-work-in-absence`: Whether the user works. * `--gap TEXT`: More absences as JSON objects of the API docs (repeatable). -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -5915,7 +5915,7 @@ $ ycli tracker gaps search [OPTIONS] USER... * `--limit INTEGER RANGE`: Max items to fetch (default: the configured cap). [x>=1] * `--all`: Fetch everything, ignoring the cap. * `--next TOKEN`: Go on from where an earlier run stopped, with the token it printed: the token carries its listing; give what is required again, and nothing else but the limit. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -5939,7 +5939,7 @@ $ ycli tracker gaps delete [OPTIONS] GAP_ID... **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. diff --git a/docs/en/reference/cli/wiki.md b/docs/en/reference/cli/wiki.md index 03617a221..3059c31cc 100644 --- a/docs/en/reference/cli/wiki.md +++ b/docs/en/reference/cli/wiki.md @@ -63,7 +63,7 @@ $ ycli wiki auth status [OPTIONS] **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -101,7 +101,7 @@ $ ycli wiki me get [OPTIONS] **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -159,7 +159,7 @@ $ ycli wiki pages get [OPTIONS] SLUG * `--revision-id INTEGER`: Show this past revision (ids from `revisions-list`). * `--raise-on-redirect / --no-raise-on-redirect`: Fail if the page is a redirect, do not follow it. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -183,7 +183,7 @@ $ ycli wiki pages get-meta [OPTIONS] SLUG **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -213,7 +213,7 @@ $ ycli wiki pages descendants-list [OPTIONS] SLUG * `--include-self / --no-include-self`: Also list the ancestor page itself. * `--show-all / --no-show-all`: The API's show_all flag. * `--actuality TEXT`: Only the pages in this state: actual or obsolete. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -240,7 +240,7 @@ $ ycli wiki pages get-by-id [OPTIONS] PAGE_ID * `--fields TEXT`: Comma-separated fields, e.g. content,attributes. * `--revision-id INTEGER`: Show this past revision (ids from `revisions-list`). * `--raise-on-redirect / --no-raise-on-redirect`: Fail if the page is a redirect, do not follow it. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -270,7 +270,7 @@ $ ycli wiki pages descendants-list-by-id [OPTIONS] PAGE_ID * `--include-self / --no-include-self`: Also list the ancestor page itself. * `--show-all / --no-show-all`: The API's show_all flag. * `--actuality TEXT`: Only the pages in this state: actual or obsolete. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -299,7 +299,7 @@ $ ycli wiki pages grids-list [OPTIONS] PAGE_ID * `--next TOKEN`: Go on from where an earlier run stopped, with the token it printed: the token carries its listing; give what is required again, and nothing else but the limit. * `--order-by TEXT`: Sort field. Known values: title, created_at. * `--order-direction TEXT`: Sort direction for --order-by. Known values: asc, desc. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -324,7 +324,7 @@ $ ycli wiki pages create [OPTIONS] * `--content TEXT`: Markdown body — pass "$(cat file.md)". [required] * `--fields TEXT`: Comma-separated blocks to include in the reply. * `--is-silent / --no-is-silent`: Do not notify the page's subscribers. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -353,7 +353,7 @@ $ ycli wiki pages update [OPTIONS] PAGE_ID * `--fields TEXT`: Comma-separated blocks to include in the reply. * `--is-silent / --no-is-silent`: Do not notify the page's subscribers. * `--allow-merge / --no-allow-merge`: Merge with a concurrent edit instead of failing. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -378,7 +378,7 @@ $ ycli wiki pages delete [OPTIONS] PAGE_ID **Options**: * `--recursive / --no-recursive`: Also delete every page under it. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -409,7 +409,7 @@ $ ycli wiki pages append [OPTIONS] PAGE_ID * `--location TEXT`: Where in the body; without a placement the API answers 400. Known values: top, bottom. * `--fields TEXT`: Comma-separated blocks to include in the reply. * `--is-silent / --no-is-silent`: Do not notify the page's subscribers. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -437,7 +437,7 @@ $ ycli wiki pages clone [OPTIONS] PAGE_ID * `--title TEXT`: Title of the copy, if renaming. * `--subscribe-me / --no-subscribe-me`: Subscribe yourself to the copy. * `--wait / --no-wait`: Poll to a terminal status before printing. [default: wait] -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -467,7 +467,7 @@ $ ycli wiki pages move [OPTIONS] SOURCE TARGET * `--copy-inherited-access / --no-copy-inherited-access`: Copy accesses inherited from the old parent; the API can refuse a move without a choice. * `--validate-only / --no-validate-only`: Validate the move without applying it (nothing to wait for). * `--wait / --no-wait`: Poll to a terminal status before printing. [default: wait] -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -495,7 +495,7 @@ $ ycli wiki pages revisions-list [OPTIONS] PAGE_ID * `--limit INTEGER RANGE`: Max items to fetch (default: the configured cap). [x>=1] * `--all`: Fetch everything, ignoring the cap. * `--next TOKEN`: Go on from where an earlier run stopped, with the token it printed: the token carries its listing; give what is required again, and nothing else but the limit. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -524,7 +524,7 @@ $ ycli wiki pages backlinks-list [OPTIONS] PAGE_ID * `--limit INTEGER RANGE`: Max items to fetch (default: the configured cap). [x>=1] * `--all`: Fetch everything, ignoring the cap. * `--next TOKEN`: Go on from where an earlier run stopped, with the token it printed: the token carries its listing; give what is required again, and nothing else but the limit. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -563,7 +563,7 @@ $ ycli wiki pages search [OPTIONS] QUERY * `--highlight / --no-highlight`: Wrap matches in tags. * `--limit INTEGER`: Results per page. * `--cursor INTEGER`: Result page to fetch, from 1 (see next_cursor). -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -617,7 +617,7 @@ $ ycli wiki access create [OPTIONS] PAGE_ID * `--group-src TEXT`: Where the group is kept. Known values: dir, cloud, com, staff. * `--group-id TEXT`: Id of the group to grant in that directory. * `--inheritance TEXT`: Whether the access also covers subpages. Known values: inherited, not_inherited. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -645,7 +645,7 @@ $ ycli wiki access update [OPTIONS] PAGE_ID ACCESS_ID * `--role TEXT`: New role. Known values: reader, editor, extra_editor, author. * `--inheritance TEXT`: Whether the access also covers subpages. Known values: inherited, not_inherited. * `--prevent-selflock / --no-prevent-selflock`: Refuse the change if it would leave you without read access or the right to change accesses. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -671,7 +671,7 @@ $ ycli wiki access delete [OPTIONS] PAGE_ID ACCESS_ID **Options**: * `--prevent-selflock / --no-prevent-selflock`: Refuse the change if it would leave you without read access or the right to change accesses. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -696,7 +696,7 @@ $ ycli wiki access clear [OPTIONS] PAGE_ID **Options**: * `--prevent-selflock / --no-prevent-selflock`: Refuse the change if it would leave you without read access or the right to change accesses. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -748,7 +748,7 @@ $ ycli wiki comments list [OPTIONS] PAGE_ID * `--order-by TEXT`: Sort field: created_at. * `--order-direction TEXT`: Sort direction for --order-by. Known values: asc, desc. * `--status-filter TEXT`: Only comments in this state. Known values: resolved, unresolved. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -778,7 +778,7 @@ $ ycli wiki comments thread-list [OPTIONS] PAGE_ID COMMENT_ID * `--limit INTEGER RANGE`: Max items to fetch (default: the configured cap). [x>=1] * `--all`: Fetch everything, ignoring the cap. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -809,7 +809,7 @@ $ ycli wiki comments thread-get [OPTIONS] PAGE_ID COMMENT_ID * `--limit INTEGER RANGE`: Max items to fetch (default: the configured cap). [x>=1] * `--all`: Fetch everything, ignoring the cap. * `--next TOKEN`: Go on from where an earlier run stopped, with the token it printed: the token carries its listing; give what is required again, and nothing else but the limit. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -837,7 +837,7 @@ $ ycli wiki comments create [OPTIONS] PAGE_ID * `--inline-text TEXT`: Page fragment to pin the comment to. * `--parent-id INTEGER`: Reply to this comment id (threaded). * `--thread-id INTEGER`: File into this existing thread id. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -862,7 +862,7 @@ $ ycli wiki comments delete [OPTIONS] PAGE_ID COMMENT_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -916,7 +916,7 @@ $ ycli wiki attachments list [OPTIONS] PAGE_ID * `--next TOKEN`: Go on from where an earlier run stopped, with the token it printed: the token carries its listing; give what is required again, and nothing else but the limit. * `--order-by TEXT`: Sort field. Known values: name, size, created_at. * `--order-direction TEXT`: Sort direction for --order-by. Known values: asc, desc. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -941,7 +941,7 @@ $ ycli wiki attachments get [OPTIONS] PAGE_ID FILE_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -970,7 +970,7 @@ $ ycli wiki attachments previews-download [OPTIONS] PAGE_ID FILE_ID **Options**: * `--output TEXT`: Write bytes to this path; omit / '-' streams to stdout. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -996,7 +996,7 @@ $ ycli wiki attachments download [OPTIONS] PAGE_ID FILE_ID **Options**: * `--output TEXT`: Write bytes to this path; omit / '-' streams to stdout. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1021,7 +1021,7 @@ $ ycli wiki attachments download-by-url [OPTIONS] URL **Options**: * `--output TEXT`: Write bytes to this path; omit / '-' streams to stdout. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1046,7 +1046,7 @@ $ ycli wiki attachments delete [OPTIONS] PAGE_ID FILE_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1071,7 +1071,7 @@ $ ycli wiki attachments attach [OPTIONS] PAGE_ID **Options**: * `--session-ids TEXT`: Finished upload-session id to attach (repeatable). [required] -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1096,7 +1096,7 @@ $ ycli wiki attachments upload [OPTIONS] PAGE_ID FILE_PATH **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1145,7 +1145,7 @@ $ ycli wiki resources list [OPTIONS] PAGE_ID * `--types TEXT`: Comma-separated kinds: attachment,grid. * `--order-by TEXT`: Sort field. Known values: name_title, created_at. * `--order-direction TEXT`: Sort direction for --order-by. Known values: asc, desc. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1187,7 +1187,7 @@ $ ycli wiki recovery recover [OPTIONS] TOKEN **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1242,7 +1242,7 @@ $ ycli wiki grids get [OPTIONS] GRID_ID * `--only-rows TEXT`: Only these row ids (CSV). * `--revision TEXT`: Load a historical revision. * `--sort TEXT`: Row sort, e.g. slug,-slug2. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1265,7 +1265,7 @@ $ ycli wiki grids create [OPTIONS] * `--title TEXT`: Title of the new grid. [required] * `--page-slug TEXT`: Target page slug, e.g. data/x. * `--page-id INTEGER`: Target page numeric id. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1295,7 +1295,7 @@ $ ycli wiki grids update [OPTIONS] GRID_ID * `--revision TEXT`: Grid revision the edit is based on. * `--title TEXT`: New grid title. * `--default-sort TEXT`: New default sort as JSON in the write shape '[{"": "asc"|"desc"}]', e.g. '[{"priority": "desc"}]'. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1319,7 +1319,7 @@ $ ycli wiki grids delete [OPTIONS] GRID_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1347,7 +1347,7 @@ $ ycli wiki grids clone [OPTIONS] GRID_ID * `--title TEXT`: Title of the copy, if renaming. * `--with-data / --no-with-data`: Copy the rows too, not just the structure. * `--wait / --no-wait`: Poll to a terminal status before printing. [default: wait] -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1396,7 +1396,7 @@ $ ycli wiki grids rows create [OPTIONS] GRID_ID * `--revision TEXT`: Grid revision the edit is based on. * `--position INTEGER`: Zero-based target index. * `--after-row-id TEXT`: Insert after this row id. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1422,7 +1422,7 @@ $ ycli wiki grids rows delete [OPTIONS] GRID_ID * `--row-id TEXT`: Row id to delete (repeatable). [required] * `--revision TEXT`: Grid revision the edit is based on. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1451,7 +1451,7 @@ $ ycli wiki grids rows move [OPTIONS] GRID_ID * `--after-row-id TEXT`: Move to just after this row id. * `--position INTEGER`: Zero-based target index. * `--rows-count INTEGER`: How many consecutive rows to move. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1479,7 +1479,7 @@ $ ycli wiki grids rows update [OPTIONS] GRID_ID ROW_ID * `--revision TEXT`: Grid revision (this endpoint does not enforce it). * `--pinned / --no-pinned`: Pin or unpin the row. * `--color TEXT`: Row background colour. Known values: blue, yellow, pink, red, green, mint, grey, orange, magenta, purple, copper, ocean. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1530,7 +1530,7 @@ $ ycli wiki grids columns create [OPTIONS] GRID_ID * `--columns TEXT`: Columns as JSON, e.g. '[{"title":"C","type":"string","slug":"c"}]'. [required] * `--revision TEXT`: Grid revision the edit is based on. * `--position INTEGER`: Zero-based target index. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1556,7 +1556,7 @@ $ ycli wiki grids columns delete [OPTIONS] GRID_ID * `--column-slug TEXT`: Column slug to delete (repeatable). [required] * `--revision TEXT`: Grid revision the edit is based on. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1584,7 +1584,7 @@ $ ycli wiki grids columns move [OPTIONS] GRID_ID * `--position INTEGER`: Zero-based destination index. [required] * `--revision TEXT`: Grid revision the edit is based on. * `--columns-count INTEGER`: How many consecutive columns to move. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1612,7 +1612,7 @@ $ ycli wiki grids columns suggest [OPTIONS] GRID_ID * `--title TEXT`: Title to turn into a slug and check. * `--slug TEXT`: Slug to check. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1648,7 +1648,7 @@ $ ycli wiki grids columns update [OPTIONS] GRID_ID COLUMN_SLUG * `--pinned TEXT`: The edge to pin the column to. Known values: left, right. * `--color TEXT`: Column background colour. Known values: blue, yellow, pink, red, green, mint, grey, orange, magenta, purple, copper, ocean. * `--select-option TEXT`: Allowed choice of a select column (repeatable). -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1692,7 +1692,7 @@ $ ycli wiki grids cells update [OPTIONS] GRID_ID * `--cells TEXT`: Cells as JSON, e.g. '[{"row_id":1,"column_slug":"name","value":"x"}]'. [required] * `--revision TEXT`: Grid revision the edit is based on. -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1736,7 +1736,7 @@ $ ycli wiki operations clone-get [OPTIONS] TASK_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1760,7 +1760,7 @@ $ ycli wiki operations clone-inline-grid-get [OPTIONS] TASK_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1784,7 +1784,7 @@ $ ycli wiki operations move-get [OPTIONS] TASK_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1829,7 +1829,7 @@ $ ycli wiki uploadsessions create [OPTIONS] * `--file-name TEXT`: Name to give the uploaded file. [required] * `--file-size INTEGER`: Total file size in bytes (sum of all parts). [required] -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1853,7 +1853,7 @@ $ ycli wiki uploadsessions get [OPTIONS] SESSION_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1879,7 +1879,7 @@ $ ycli wiki uploadsessions parts-upload [OPTIONS] SESSION_ID FILE_PATH **Options**: * `--part-number INTEGER`: 1-based part index (1 for the first part, +1 per next part). [required] -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1903,7 +1903,7 @@ $ ycli wiki uploadsessions finish [OPTIONS] SESSION_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1927,7 +1927,7 @@ $ ycli wiki uploadsessions abort [OPTIONS] SESSION_ID **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. @@ -1947,7 +1947,7 @@ $ ycli wiki uploadsessions abort-all [OPTIONS] **Options**: -* `-o, --format [auto|json|yaml|pretty]`: Output format (auto = pretty on a TTY, JSON when piped). +* `-o, --format [auto|json|yaml|pretty|csv|markdown|ndjson]`: Output format (auto = pretty on a TTY, JSON when piped). * `-y, --yes`: Do not ask before an operation that deletes data. * `--dry-run`: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***. * `--profile NAME`: Use the credentials saved as this profile (YCLI_PROFILE); the environment's and .env's are then not read. `ycli auth profiles` lists them. diff --git a/docs/ru/how-to/script-the-cli.md b/docs/ru/how-to/script-the-cli.md index a44f52512..66716886d 100644 --- a/docs/ru/how-to/script-the-cli.md +++ b/docs/ru/how-to/script-the-cli.md @@ -7,7 +7,7 @@ type: how-to ## Получить JSON -В терминале ycli печатает таблицы, а при передаче по конвейеру — JSON. Формат можно задать явно глобальным флагом `--format` / `-o` (`auto`, `json`, `yaml`, `pretty`) до команды или после неё: +В терминале ycli печатает таблицы, а при передаче по конвейеру — JSON. Формат можно задать явно глобальным флагом `--format` / `-o` (`auto`, `json`, `yaml`, `pretty`, `csv`, `markdown`, `ndjson`) до команды или после неё: ```bash ycli tracker issues get TRACKER-1 | jq . # JSON, потому что вывод передаётся по конвейеру @@ -28,6 +28,22 @@ ycli tracker issues search 'Queue: TEST' -o json | jq -r '.items[].key' `-o json` задаёт формат явно; без него по конвейеру всё равно уходит JSON. +## Таблица или один элемент на строку + +`-o csv` и `-o markdown` печатают таблицу, `-o ndjson` — по одному элементу на строку: + +```bash +ycli tracker issues search 'Queue: TEST' -o csv > issues.csv +ycli tracker queues list -o markdown >> report.md +ycli tracker issues search 'Queue: TEST' -o ndjson | jq -r .key +``` + +- Столбцы — это поля, которые ycli знает у объекта такого вида; они одни и те же при любом ответе. У поля, которое сервис добавил позже, столбца нет; его печатает `-o json`. +- Вложенный объект раскладывается в столбцы с именем через точку (`status.key`); список остаётся одной ячейкой, текстом JSON. +- Команда, которая отвечает одним объектом, печатает таблицу из одной строки или одну строку. +- `csv` — это UTF-8 без метки порядка байтов, строки кончаются одним переводом строки, а ячейка — текст сервиса как есть. Ячейку, которая начинается с `=`, таблица прочтёт как формулу: открывайте файл с чужим текстом, помня об этом. +- Где список остановился, сказано в stderr, как и при `-o pretty`: в stdout только строки. + ## Длинный список по частям Список останавливается на 500 элементах, если не сказать иначе. `--limit N` берёт первые N, `--all` — всё, а `--next` продолжает с места, где остановился прошлый запуск. `-o json` и `-o yaml` печатают то же, что отдают инструмент MCP и SDK: `{items, truncated, next, total}`, так что скрипт берёт токен через `jq -r .next`. Таблица (`-o pretty`) печатает строки, а где список остановился — в stderr, готовой строкой. Строка говорит, что запуск остановился на лимите, а не что что-то осталось: это покажет только следующий запуск, и он может не дать ничего. diff --git a/src/ycli/cli/formats.py b/src/ycli/cli/formats.py index 9e6e99acb..9cd7fb481 100644 --- a/src/ycli/cli/formats.py +++ b/src/ycli/cli/formats.py @@ -10,3 +10,6 @@ class OutputFormat(enum.StrEnum): json = "json" yaml = "yaml" pretty = "pretty" + csv = "csv" + markdown = "markdown" + ndjson = "ndjson" diff --git a/src/ycli/cli/inject.py b/src/ycli/cli/inject.py index 17b45fc7b..8c8dec8b2 100644 --- a/src/ycli/cli/inject.py +++ b/src/ycli/cli/inject.py @@ -38,7 +38,7 @@ def get(survey_id: SurveyIDArg, *, forms: FormsClient) -> Survey: leaf_parameters, refuse_fields, ) -from ycli.cli.output import Continuable +from ycli.cli.output import Continuable, Declared from ycli.yandex.core.continuation import HANDLES, NOTHING_ELSE from ycli.yandex.core.guard import RequestPlanned from ycli.yandex.core.listing import Listing @@ -188,8 +188,8 @@ def run(*args: Any, **kwargs: Any) -> Any: # violation(arch-9): the command sent no body at all, so the fields went nowhere raise typer.BadParameter(NO_BODY, param_hint="-F / --body-file") if isinstance(result, Listing): - return Continuable(result, _again(context)) - return result + result = Continuable(result, _again(context)) + return Declared(result, hints.get("return")) context = inspect.Parameter(_CONTEXT, inspect.Parameter.KEYWORD_ONLY, annotation=typer.Context) run.__signature__ = signature.replace( # ty: ignore[unresolved-attribute] diff --git a/src/ycli/cli/output.py b/src/ycli/cli/output.py index eca0d0dd2..34d6c306b 100644 --- a/src/ycli/cli/output.py +++ b/src/ycli/cli/output.py @@ -3,7 +3,8 @@ The root ``result_callback`` hands every command's return value to :func:`render`: - a pydantic model goes through the ``--format`` strategy. stdout is data: when output is piped/redirected (not a TTY) the default ``auto`` stays raw JSON so scripts and agents keep a - stable machine format; an interactive TTY gets a pretty table; + stable machine format; an interactive TTY gets a pretty table. ``csv`` and ``markdown`` print + a table whose columns are the fields the model declares, ``ndjson`` one item on a line; - a ``str`` or ``int`` prints verbatim (raw page markdown, a count); - :class:`BinaryResult` writes bytes to a file or stdout; - :class:`ExitWith` renders its result, then exits with a non-zero status; @@ -18,31 +19,37 @@ # older versions ignore the name. __lazy_modules__ = {"yaml", "rich.table"} +import csv +import json import sys from abc import ABC, abstractmethod from dataclasses import dataclass from pathlib import Path -from typing import TYPE_CHECKING, Any +from types import NoneType, UnionType +from typing import TYPE_CHECKING, Annotated, Any, Union, get_args, get_origin import typer import yaml -from pydantic import BaseModel +from pydantic import BaseModel, RootModel from rich.console import Console from rich.markup import escape from rich.table import Table from ycli.cli.formats import OutputFormat +from ycli.yandex.core.listing import Listing from ycli.yandex.models import ItemList, Listed if TYPE_CHECKING: - from collections.abc import Iterator - - from ycli.yandex.core.listing import Listing + from collections.abc import Iterator, Sequence class SerializationStrategy(ABC): """Prints a command result to a console; one subclass per ``--format`` choice.""" + def __init__(self, declared: object = None) -> None: + #: What the command says it returns, where the result is that. + self.declared = declared + @abstractmethod def render(self, result: BaseModel, console: Console) -> None: """Print ``result`` to ``console``.""" @@ -56,14 +63,19 @@ def render_listing(self, listed: Listed[Any], console: Console) -> None: self.render(listed, console) @classmethod - def from_format(cls, output_format: OutputFormat) -> SerializationStrategy: + def from_format( + cls, output_format: OutputFormat, declared: object = None + ) -> SerializationStrategy: """Resolve a CLI ``--format`` choice to its strategy (no module-level registry).""" return { OutputFormat.json: JSONStrategy, OutputFormat.yaml: YAMLStrategy, OutputFormat.pretty: PrettyStrategy, OutputFormat.auto: AutoStrategy, - }[output_format]() + OutputFormat.csv: CSVStrategy, + OutputFormat.markdown: MarkdownStrategy, + OutputFormat.ndjson: NDJSONStrategy, + }[output_format](declared) class JSONStrategy(SerializationStrategy): @@ -194,6 +206,166 @@ def _fitting(console: Console) -> SerializationStrategy: return PrettyStrategy() if console.is_terminal else JSONStrategy() +def _unwrapped(value: object) -> object: + """What a root model holds, so a result that wraps one object is that object.""" + while isinstance(value, RootModel): + value = value.root + return value + + +def _items(result: BaseModel) -> list[tuple[type, Any]]: + """The rows of a result, each with its class and as JSON carries it, under the API's keys. + + The rows are the items of a listing, or the one object the result is. + """ + held = result.items if isinstance(result, Listed) else _unwrapped(result) + data = result.model_dump(by_alias=True, mode="json") + if isinstance(result, Listed): + data = data["items"] + if not isinstance(held, list): + held, data = [held], [data] + return [(type(_unwrapped(item)), dumped) for item, dumped in zip(held, data, strict=True)] + + +def _compact(value: Any) -> str: + """``value`` as one line of JSON, the text ``-o json`` prints on a pipe.""" + return json.dumps(value, ensure_ascii=False, separators=(",", ":")) + + +class NDJSONStrategy(SerializationStrategy): + """``--format ndjson``: one item on a line; a result that is one object is one line. + + Only the items are printed: where a listing stopped is said on stderr, so every line + parses the same way. + """ + + def render(self, result: BaseModel, console: Console) -> None: + """Print each item of ``result`` as a line of JSON.""" + console.file.writelines(_compact(item) + "\n" for _, item in _items(result)) + + +#: The path of a column inside an item, by the API's keys; the empty path is the item itself. +type _Column = tuple[str, ...] + + +def _nested(annotation: object) -> type[BaseModel] | None: + """The one model a field holds (``Status`` or ``Status | None``), if it holds just that.""" + origin = get_origin(annotation) + if origin is Annotated: + return _nested(get_args(annotation)[0]) + if origin in (Union, UnionType): + held = [kind for kind in get_args(annotation) if kind is not NoneType] + return _nested(held[0]) if len(held) == 1 else None + plain = isinstance(annotation, type) and issubclass(annotation, BaseModel) + return annotation if plain and not issubclass(annotation, RootModel) else None + + +def _kinds(declared: object, *, item: bool = False) -> Iterator[type]: + """The classes of the rows a command says it returns: ``Listing[Board]`` → ``Board``. + + A listing of several kinds names each. What is not a model is a row only as an item of a + listing (``Listing[str]``); a result that is no model has no table. + """ + origin = get_origin(declared) + if origin is Annotated: + yield from _kinds(get_args(declared)[0], item=item) + elif origin in (Union, UnionType): + for kind in get_args(declared): + yield from _kinds(kind, item=item) + elif origin in (Listing, list): + yield from _kinds(get_args(declared)[0], item=True) + elif isinstance(declared, type) and issubclass(declared, RootModel): + yield from _kinds(declared.model_fields["root"].annotation, item=item) + elif isinstance(declared, type) and issubclass(declared, Listed): + yield from _kinds(declared.model_fields["items"].annotation, item=item) + else: + kind = origin or declared + if ( + isinstance(kind, type) + and kind is not NoneType + and (item or issubclass(kind, BaseModel)) + ): + yield kind + + +def _columns(model: type[BaseModel], above: tuple[type[BaseModel], ...] = ()) -> Iterator[_Column]: + """The columns a model declares: a nested object is laid out as ``status.key``. + + A list, a mapping and a model that holds itself stay one column, printed as JSON text. + """ + if not model.model_fields: + yield () # nothing declared: the object is one cell + return + for name, field in model.model_fields.items(): + key = field.serialization_alias or field.alias or name + nested = _nested(field.annotation) + if nested is None or nested in above or nested is model: + yield (key,) + else: + yield from ((key, *rest) for rest in _columns(nested, (*above, model))) + + +def _cell(item: Any, column: _Column) -> str: + """The text of one cell: a scalar as it is, a list or an object as JSON text.""" + value = item + for key in column: + value = value.get(key) if isinstance(value, dict) else None + if value is None: + return "" + return value if isinstance(value, str) else _compact(value) + + +class TableStrategy(SerializationStrategy): + """A table whose columns are the fields the model declares, so data does not move them. + + A result that is one object is a table of one row. A field the service added and the + model does not declare has no column; ``-o json`` prints it. + """ + + def render(self, result: BaseModel, console: Console) -> None: + """Print ``result`` as a header and one row for each item.""" + items = _items(result) + columns: list[_Column] = [] + # The declared kinds first: the header is the same whatever the reply holds, if anything. + for kind in dict.fromkeys([*_kinds(self.declared), *(kind for kind, _ in items)]): + declared = _columns(kind) if issubclass(kind, BaseModel) else [()] + columns.extend(column for column in declared if column not in columns) + if not columns: + return + header = [".".join(column) or "value" for column in columns] + rows = [[_cell(item, column) for column in columns] for _, item in items] + self.write(header, rows, console) + + @abstractmethod + def write(self, header: Sequence[str], rows: Sequence[Sequence[str]], console: Console) -> None: + """Print the header and the rows of cells.""" + + +class CSVStrategy(TableStrategy): + """``--format csv``: RFC 4180 quoting, UTF-8 with no byte order mark, cells as they came. + + A cell is the service's text unchanged, so one that starts with ``=`` is a formula to a + spreadsheet that opens the file. + """ + + def write(self, header: Sequence[str], rows: Sequence[Sequence[str]], console: Console) -> None: + """Print the table as CSV.""" + csv.writer(console.file, lineterminator="\n").writerows([header, *rows]) + + +class MarkdownStrategy(TableStrategy): + """``--format markdown``: a pipe table; ``|`` and a line break inside a cell are escaped.""" + + def write(self, header: Sequence[str], rows: Sequence[Sequence[str]], console: Console) -> None: + """Print the table as Markdown.""" + lines = [header, ["---"] * len(header), *([self._escaped(c) for c in row] for row in rows)] + console.file.writelines(f"| {' | '.join(line)} |\n" for line in lines) + + @staticmethod + def _escaped(cell: str) -> str: + return cell.replace("|", "\\|").replace("\r\n", "
").replace("\n", "
") + + @dataclass(frozen=True) class BinaryResult: """Raw bytes (an attachment, an export) for the file at ``path``, or stdout for ``None``/``-``. @@ -222,15 +394,41 @@ class Continuable: command: str -def render(result: object, output_format: OutputFormat) -> None: - """Print a command's return value to stdout — the only place CLI output is produced.""" +@dataclass(frozen=True) +class Declared: + """What a command returned, and what it says it returns: a table takes its columns from that. + + So an empty listing has a header too, and a listing of several kinds has the columns of each + whatever the reply held. + """ + + result: object + returns: object + + +def render(result: object, output_format: OutputFormat, declared: object = None) -> None: + """Print a command's return value to stdout — the only place CLI output is produced. + + Args: + result: What the command returned. + output_format: The ``--format`` choice. + declared: What the command says it returns, where ``result`` is that. + + Raises: + TypeError: The command returned a value that has no rendering. + typer.Exit: After an :class:`ExitWith` is printed, with its exit code. + """ match result: case None: return + case Declared(result=inner, returns=returns): + render(inner, output_format, returns) case Continuable(listing=listing, command=command): # What it gave, as the format shows a listing; where it stopped is said on stderr. listed = listing.collect() - SerializationStrategy.from_format(output_format).render_listing(listed, Console()) + SerializationStrategy.from_format(output_format, declared).render_listing( + listed, Console() + ) if listed.truncated: # It stopped at the limit; whether anything is left only the next call can say. of = "" if listed.total is None else f" of {listed.total}" @@ -240,7 +438,7 @@ def render(result: object, output_format: OutputFormat) -> None: hint = f"{shown}; go on with: {command} --next {listed.next} (or --all)" typer.echo(hint, err=True) case BaseModel(): - SerializationStrategy.from_format(output_format).render(result, Console()) + SerializationStrategy.from_format(output_format, declared).render(result, Console()) case str() | int(): print(result) case BinaryResult(data=data, path=None | "-"): diff --git a/tests/architecture/test_arch4.py b/tests/architecture/test_arch4.py index 791858fca..783ad4092 100644 --- a/tests/architecture/test_arch4.py +++ b/tests/architecture/test_arch4.py @@ -8,7 +8,7 @@ # Serializers that turn a result into text. Only output.render may call them (ARCH-4). _SERIALIZERS = frozenset( {"json.dump", "json.dumps", "yaml.dump", "yaml.safe_dump", "yaml.dump_all", - "yaml.safe_dump_all", "pydantic_core.to_json"} + "yaml.safe_dump_all", "pydantic_core.to_json", "csv.writer", "csv.DictWriter"} ) # fmt: skip _SERIALIZER_METHODS = frozenset({"model_dump_json", "dump_json"}) # BaseModel / TypeAdapter # Where a result may be serialized, and why. @@ -24,8 +24,8 @@ def _serializations(source: str) -> list[str]: """Calls in ``source`` that serialize a value. - They are ``json.dumps``, ``yaml.safe_dump``, ``pydantic_core.to_json`` (import aliases - resolved) or a ``.model_dump_json()``. + They are ``json.dumps``, ``yaml.safe_dump``, ``pydantic_core.to_json``, ``csv.writer`` and + ``csv.DictWriter`` (import aliases resolved) or a ``.model_dump_json()``. """ tree = ast.parse(source) aliases = _import_aliases(tree) @@ -58,6 +58,8 @@ def test_arch4_serialization_guard_bites(): "text = result.model_dump_json()", "from pydantic_core import to_json\ndata = to_json(result)", "import pydantic_core\ndata = pydantic_core.to_json(result)", + "import csv\ncsv.writer(out).writerows(rows)", + "from csv import DictWriter\nDictWriter(out, fieldnames=names).writerows(rows)", ): assert _serializations(source), source assert _serializations("data = result.model_dump(mode='json')\nvalue = json.loads(text)") == [] diff --git a/tests/contract/test_output_formats.py b/tests/contract/test_output_formats.py new file mode 100644 index 000000000..bb0ae3d9c --- /dev/null +++ b/tests/contract/test_output_formats.py @@ -0,0 +1,152 @@ +"""Every command of a contract case, printed as ``csv``, ``markdown`` and ``ndjson``. + +What ``-o json`` prints is the measure: the same items, under the same keys, and stdout that +its own parser reads whole. +""" + +from __future__ import annotations + +import csv +import io +import json +import re +from dataclasses import replace +from typing import TYPE_CHECKING, Any + +import pytest +from pydantic import BaseModel, RootModel +from typer.testing import CliRunner + +from tests.contract.test_contract import CASES, _serve +from ycli.cli.app import app +from ycli.cli.output import _columns +from ycli.yandex.models import APIModel + +if TYPE_CHECKING: + from collections.abc import Iterator + + from tests.contract import Case + +CLI_CASES = [case for case in CASES if case.cli is not None] +#: A ``|`` that ends a cell: one the cell's own text holds is escaped with a backslash. +_CELL_END = re.compile(r"(? bytes: + assert case.cli is not None + for name, value in case.env.items(): + monkeypatch.setenv(name, value) + _serve(monkeypatch, case) + confirmed = ["--yes"] if case.expected_effect == "destructive" else [] + result = CliRunner().invoke(app, ["--format", output_format, *confirmed, *case.cli]) + assert result.exit_code == 0, result.output + return result.stdout_bytes + + +def _items(printed: Any) -> list[Any]: + """The rows ``-o json`` shows: the items of a listing, a bare array, or the one object.""" + if ( + isinstance(printed, dict) + and isinstance(printed.get("items"), list) + and "truncated" in printed + ): + return printed["items"] + return printed if isinstance(printed, list) else [printed] + + +def _cell(item: Any, header: str) -> str: + """What the cell under ``header`` must say, read from the item as JSON carries it.""" + value = item + whole = header == "value" and not (isinstance(item, dict) and "value" in item) + for key in [] if whole else header.split("."): + value = value.get(key) if isinstance(value, dict) else None + if value is None: + return "" + if isinstance(value, str): + return value + return json.dumps(value, ensure_ascii=False, separators=(",", ":")) + + +@pytest.mark.parametrize("case", CLI_CASES, ids=[case.id for case in CLI_CASES]) +def test_a_command_prints_the_same_items_in_every_format(case: Case, monkeypatch): + as_json = _printed(case, "json", monkeypatch) + printed = {name: _printed(case, name, monkeypatch) for name in ("ndjson", "csv", "markdown")} + try: + items = _items(json.loads(as_json)) + except ValueError: + # Text, a count and bytes are not a table: every format prints them as they are. + assert set(printed.values()) == {as_json} + return + if not isinstance(json.loads(as_json), dict | list): + assert set(printed.values()) == {as_json} + return + + assert [json.loads(line) for line in printed["ndjson"].splitlines()] == items + + table = list(csv.reader(io.StringIO(printed["csv"].decode(), newline=""))) + if items: + header, *rows = table + assert len(rows) == len(items) + for row, item in zip(rows, items, strict=True): + assert row == [_cell(item, name) for name in header] + lines = printed["markdown"].decode().splitlines() + assert len(lines) == len(items) + 2 + assert {len(_CELL_END.findall(line)) for line in lines} == {len(header) + 1} + else: + # An empty listing still says what its columns are. + assert len(table) == 1 + assert len(printed["markdown"].decode().splitlines()) == 2 + + +def _models(base: type[BaseModel]) -> Iterator[type[BaseModel]]: + for model in base.__subclasses__(): + yield model + yield from _models(model) + + +def test_the_columns_of_every_model_are_the_keys_its_json_has(): + """A column named otherwise than the key would print nothing under it. + + What pydantic says a model serializes to is the measure, for every model the cases loaded. + """ + checked = 0 + for model in dict.fromkeys(_models(APIModel)): + if issubclass(model, RootModel) or model.__pydantic_generic_metadata__["parameters"]: + continue # a wrapper of one value, or a generic nobody gave its argument + schema = model.model_json_schema(by_alias=True, mode="serialization") + if "$ref" in schema: # a model that holds itself is described under its name + schema = schema["$defs"][schema["$ref"].rpartition("/")[2]] + declared = schema.get("properties", {}) + columns = {column[0] for column in _columns(model) if column} + assert columns == set(declared), model + checked += 1 + assert checked > 500 + + +def _header(case: Case, monkeypatch: pytest.MonkeyPatch) -> list[str]: + return next(csv.reader(io.StringIO(_printed(case, "csv", monkeypatch).decode()))) + + +def _first(operation: str) -> Case: + return next(case for case in CLI_CASES if case.operation == operation) + + +@pytest.mark.parametrize( + ("operation", "nothing"), + [ + # The two listings whose items are of several kinds. + ("forms.subscriptions.list", []), + ("datalens.collections.content_list", {"items": [], "nextPageToken": None}), + ("tracker.queues.list", []), + ], +) +def test_the_header_is_the_same_for_an_empty_listing_as_for_a_full_one( + operation, nothing, monkeypatch +): + case = _first(operation) + sent, reply = case.exchanges[0] + empty = replace(case, exchanges=[(sent, replace(reply, json=nothing))]) + assert _printed(empty, "ndjson", monkeypatch) == b"" + printed = _printed(empty, "csv", monkeypatch).decode() + assert printed.count("\n") == 1 # the header line, and nothing else + assert printed.rstrip("\n").split(",") == _header(case, monkeypatch) diff --git a/tests/unit/cli/test_output_strategies.py b/tests/unit/cli/test_output_strategies.py index 91540c1a6..2f9920297 100644 --- a/tests/unit/cli/test_output_strategies.py +++ b/tests/unit/cli/test_output_strategies.py @@ -1,18 +1,28 @@ """output.py serialization strategies.""" +from __future__ import annotations + +import csv +import json from io import StringIO +from typing import Annotated, Any -from pydantic import BaseModel +from pydantic import BaseModel, ConfigDict, Field, RootModel from rich.console import Console from ycli.cli.output import ( AutoStrategy, + CSVStrategy, JSONStrategy, + MarkdownStrategy, + NDJSONStrategy, OutputFormat, PrettyStrategy, SerializationStrategy, YAMLStrategy, ) +from ycli.yandex.core.listing import Listing +from ycli.yandex.models import ItemList, Listed class _Row(BaseModel): @@ -144,3 +154,127 @@ class _Rows(BaseModel): out = buf.getvalue() assert "[col]" in out assert "[/x]" in out + + +class _Status(BaseModel): + key: str + display: str | None = None + + +class _Node(BaseModel): + """A model that holds itself, an annotated model and a field of more than one kind.""" + + key: str + status: _Status | None = None + resolution: Annotated[_Status, Field(description="how it ended")] | None = None + tags: list[str] = [] + parent: _Node | None = None + owner: _Status | str | None = None + created_at: str | None = Field(default=None, serialization_alias="createdAt") + + +class _Bare(BaseModel): + model_config = ConfigDict(extra="allow") + + +def _printed(strategy: SerializationStrategy, result: BaseModel) -> str: + console, buf = _console(terminal=False) + strategy.render(result, console) + return buf.getvalue() + + +_NODE = _Node( + key="A-1", + status=_Status(key="open", display="Открыт"), + tags=["a", "b"], + parent=_Node(key="A-0"), + owner="ann", + created_at="today", +) +_HEADER = ( + "key,status.key,status.display,resolution.key,resolution.display,tags,parent,owner,createdAt" +) + + +def test_csv_lays_a_nested_object_out_in_columns_and_keeps_a_list_as_json_text(): + header, row = list(csv.reader(StringIO(_printed(CSVStrategy(), _NODE)))) + assert ",".join(header) == _HEADER + cells = dict(zip(header, row, strict=True)) + assert cells["status.display"] == "Открыт" + assert cells["resolution.key"] == "" + assert json.loads(cells["tags"]) == ["a", "b"] + # A model that holds itself is one cell, not columns without end. + assert json.loads(cells["parent"])["key"] == "A-0" + assert cells["owner"] == "ann" + + +def test_the_columns_are_the_fields_the_model_declares_whatever_the_items_hold(): + listed = Listed[_Node](items=[_Node(key="A-1"), _NODE], truncated=True, next="eJw") + header, first, second = list(csv.reader(StringIO(_printed(CSVStrategy(), listed)))) + assert ",".join(header) == _HEADER + assert first == ["A-1", "", "", "", "", "[]", "", "", ""] + assert second[0] == "A-1" and second[-1] == "today" + + +def test_csv_quotes_what_would_break_a_row_and_leaves_a_formula_as_it_came(): + printed = _printed(CSVStrategy(), _Row(key='=1+1, "x"', name="two\nlines")) + assert printed == 'key,name\n"=1+1, ""x""","two\nlines"\n' + assert list(csv.reader(StringIO(printed)))[1] == ['=1+1, "x"', "two\nlines"] + + +def test_markdown_escapes_a_pipe_and_a_line_break_inside_a_cell(): + printed = _printed(MarkdownStrategy(), _Row(key="a|b", name="one\r\ntwo\nthree")) + assert printed == "| key | name |\n| --- | --- |\n| a\\|b | one
two
three |\n" + + +def test_ndjson_prints_the_items_alone_one_on_a_line(): + listed = Listed[_Row](items=[_Row(key="A", name="Имя"), _Row(key="B", name="y")], next="eJw") + assert _printed(NDJSONStrategy(), listed) == ( + '{"key":"A","name":"Имя"}\n{"key":"B","name":"y"}\n' + ) + assert _printed(NDJSONStrategy(), _M(key="A")) == '{"key":"A"}\n' + + +def test_items_that_are_not_objects_are_one_column(): + assert _printed(CSVStrategy(), ItemList[str](["a", "b"])) == "value\na\nb\n" + assert _printed(CSVStrategy(), ItemList[int]([1])) == "value\n1\n" + assert _printed(NDJSONStrategy(), ItemList[str](["a"])) == '"a"\n' + + +def test_an_object_that_declares_no_field_is_one_cell(): + printed = _printed(CSVStrategy(), _Bare.model_validate({"a": 1})) + assert list(csv.reader(StringIO(printed))) == [["value"], ['{"a":1}']] + + +def test_a_root_model_of_one_object_is_that_object(): + assert _printed(CSVStrategy(), RootModel[_Row](_Row(key="A", name="x"))) == "key,name\nA,x\n" + + +def test_from_format_maps_the_table_and_line_formats(): + assert isinstance(SerializationStrategy.from_format(OutputFormat.csv), CSVStrategy) + assert isinstance(SerializationStrategy.from_format(OutputFormat.markdown), MarkdownStrategy) + assert isinstance(SerializationStrategy.from_format(OutputFormat.ndjson), NDJSONStrategy) + + +def test_an_empty_listing_has_the_header_of_what_the_command_says_it_returns(): + nothing = Listed[_Row](items=[]) + assert _printed(CSVStrategy(Listing[_Row]), nothing) == "key,name\n" + assert _printed(MarkdownStrategy(ItemList[_Row]), nothing) == "| key | name |\n| --- | --- |\n" + assert _printed(CSVStrategy(Listing[_Row | _M]), nothing) == "key,name\n" + assert _printed(CSVStrategy(Listing[Annotated[_Status | _Row, "kinds"]]), nothing) == ( + "key,display,name\n" + ) + assert _printed(CSVStrategy(Listed[_Status] | None), nothing) == "key,display\n" + assert _printed(CSVStrategy(Listing[str]), nothing) == "value\n" + assert _printed(CSVStrategy(Listing[dict[str, int]]), nothing) == "value\n" + + +def test_a_result_that_is_no_model_gives_no_columns(): + nothing = Listed[_Row](items=[]) + for declared in (None, str, int | None, Any): + assert _printed(CSVStrategy(declared), nothing) == "" + + +def test_the_declared_kinds_come_first_and_what_else_came_is_added(): + printed = _printed(CSVStrategy(Listing[_M]), Listed[Any](items=[_Row(key="A", name="x")])) + assert printed == "key,name\nA,x\n" diff --git a/tests/unit/cli/test_render.py b/tests/unit/cli/test_render.py index 41ba9d51b..aa3792ca7 100644 --- a/tests/unit/cli/test_render.py +++ b/tests/unit/cli/test_render.py @@ -2,12 +2,15 @@ import io import sys +from types import SimpleNamespace +from typing import Any import pytest import typer from pydantic import BaseModel -from ycli.cli.output import BinaryResult, ExitWith, OutputFormat, render +from ycli.cli.output import BinaryResult, Continuable, ExitWith, OutputFormat, render +from ycli.yandex.core.listing import Listing class _Model(BaseModel): @@ -54,3 +57,24 @@ def test_exit_with_renders_then_exits(capsys): def test_an_unknown_value_is_a_bug_not_silence(): with pytest.raises(TypeError, match="returned dict"): render({"raw": "dict"}, OutputFormat.json) + + +@pytest.mark.parametrize( + ("output_format", "printed"), + [ + (OutputFormat.csv, "key\nA\nB\n"), + (OutputFormat.markdown, "| key |\n| --- |\n| A |\n| B |\n"), + (OutputFormat.ndjson, '{"key":"A"}\n{"key":"B"}\n'), + ], +) +def test_a_listing_cut_at_the_limit_prints_rows_alone_and_says_so_on_stderr( + capsys, output_format, printed +): + stopped: Any = SimpleNamespace(truncated=True, next="eJw", total=5, seen=2) + rows = Listing(stopped, lambda: iter([_Model(key="A"), _Model(key="B")])) + render(Continuable(rows, "ycli things list"), output_format) + captured = capsys.readouterr() + assert captured.out == printed + assert captured.err == ( + "stopped at 2 of 5; go on with: ycli things list --next eJw (or --all)\n" + )