Skip to content

CLI

ycli — Yandex 360 API SDK CLI.

tracker — Yandex Tracker: issues, queues, boards, sprints, fields, automation. 34 resources; start with ycli tracker me get.

wiki — Yandex Wiki: pages, grids, comments, attachments. 10 resources; start with ycli wiki pages get.

forms — Yandex Forms: surveys, questions, answers, publishing. 16 resources; start with ycli forms surveys list.

datalens — Yandex DataLens: workbooks, connections, datasets, charts, dashboards. 28 resources; start with ycli datalens workbooks list.

Usage:

$ ycli [OPTIONS] COMMAND [ARGS]...

Options:

  • -o, --format [auto|json|yaml|pretty|csv|markdown|ndjson|name]: Output format (auto = pretty on a TTY, JSON when piped). [default: auto]
  • -y, --yes: Do not ask before an operation that deletes data or grants access.
  • --dry-run: Do not send a write: print the request it would send instead. Reads still run, and only the first write of a command is shown. A secret in the body (a password, a token) is printed as ***.
  • --profile NAME: 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.
  • --body-file FILE: A JSON object (YAML in a .yaml / .yml file) laid under the request body: -F and the command's flags win over it. Objects merge; a list is replaced, not added to. YAML guesses types (no, 1.10): quote a value meant as text.
  • -v, --verbose: Log to stderr: -v shows HTTP requests, -vv adds debug detail. [default: 0]
  • --version: Show the installed ycli version and exit.
  • --help: Show this message and exit.

Exit codes: 0 ok · 1 failure · 2 usage · 3 not found · 4 auth · 5 rate limited · 6 transient · 7 changes · 8 diverged · 9 stale (see the README).

Commands:

  • ycli tracker: Yandex Tracker: issues, queues, boards, sprints, fields, automation.
  • ycli wiki: Yandex Wiki: pages, grids, comments, attachments.
  • ycli forms: Yandex Forms: surveys, questions, answers, publishing.
  • ycli datalens: Yandex DataLens: workbooks, connections, datasets, charts, dashboards.
  • ycli auth: Inspect and obtain Yandex 360 credentials.
  • ycli mcp: MCP server control (reads + writes).
  • ycli sync: Yandex 360 content as files in git.
  • ycli doctor: Check what a working call needs and say what to fix.
  • ycli api: Call any API endpoint ycli has not wrapped, like gh api.