Oko/Docs

Command reference

oko repositories execution

What an organization has been building, from the named code host: its most recently pushed repositories, each with its description, recent commit subjects, top authors, days since the last push and each author's commit times.

Invocation#

Command
oko repositories execution --provider github --org ORG [--repos N] [--commits N]

Inputs and options#

  • --provider names the code host; github is the one Oko implements, and none is assumed. --org is required; --repos and --commits bound how many repositories and commits per repository are read. The token is read from Skarbiec.

Output and state effect#

  • Reads only; prints the report as JSON.

Refusals and safe exits#

  • `oko repositories execution needs --provider naming the code host; Oko reads github`, `oko repositories takes execution; got <verb>`, `oko repositories execution requires --org <text>`, `oko repositories execution takes a GitHub organization name; got <text>` and a non-numeric --repos or --commits (exit 2); `<item>#<field> cannot be read by <consumer>: <detail>`; `GitHub <path> answered HTTP <status>: <body>`; `GitHub <path> could not be reached: <error>`; `GitHub <path>: unreadable answer: <error>`; `GitHub <path> answered something that is not JSON`.

CLI reference#