Skip to content

Docs: document verify-workflow, pilot-packet, validate-specs and telemetry #128

Closed

Description

@adityankale190895

diffci --help lists four commands that no page under docs/ or either README explains:

  • diffci verify-workflow [--enforce]: usage at cli.ts:1401, description at L1444. check already tells users to run it (L795), but the docs don't say what it checks.
  • diffci pilot-packet: L1389, L1439
  • diffci validate-specs --file <json>: L1400, L1443
  • diffci telemetry --mode off|anonymous|installations and --share-usage: L1382, L1485

Add a short section for each to docs/using-diffci.md. Say what the command does, give one example invocation, explain the exit codes, and say what it writes or sends. For telemetry, state plainly that it is off by default, what each mode sends, and that --no-send / DIFFCI_NO_SEND=1 overrides it. Take the facts from the usage text and the code, not from guesses, and run each command once on a small repository to check the example. A short "All commands" table at the top of the page linking to each section would also help, but is optional.

Done when: each of the four commands has a section in docs/using-diffci.md with a working example, and searching docs/ for each command name finds it. Docs only, no code changes.

Setup and conventions are in CONTRIBUTING.md: run npm test, sign off commits with git commit -s (DCO). Comment here if you want to take it, and ask anything.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationgood first issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions