Skip to content

Update from code changes: expand CLI section on proposal review reference - #111

Open
mintlify[bot] wants to merge 1 commit into
mainfrom
mintlify/eca0e99a
Open

Update from code changes: expand CLI section on proposal review reference#111
mintlify[bot] wants to merge 1 commit into
mainfrom
mintlify/eca0e99a

Conversation

@mintlify

@mintlify mintlify Bot commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Summary

Expand the CLI section on the organization proposal review API reference so the read + write flow composes end-to-end from the terminal.

Changes

  • Documented every chainpatrol proposals review flag alongside the existing reports list --needs-customer-review example.
  • Called out the confirmation behavior, including refusal on non-TTY, --json, and --no-input without --yes.
  • Added CLI examples for approve, brand-required approve, reject, watchlist with OTHER, and dry-run.

Context

  • chainpatrol/chainpatrol-web#7412 — API + SDK for reviewing a proposal (endpoint, proposals[].id on the reports listing, reviewOrganizationProposal SDK method).
  • chainpatrol/chainpatrol-web#7435 — CLI chainpatrol proposals review subcommand.

The API reference page, the reports listing note about proposals[].id, and the SDK types were already documented — only the CLI walkthrough was thin, so this pass fills that gap.


Note

Low Risk
Documentation-only changes to an external API reference page; no runtime or API behavior is modified.

Overview
Expands the From the CLI section on the organization proposal review API reference so the list-then-review flow is documented end-to-end from the terminal.

The intro now names chainpatrol proposals review and ties it to chainpatrol reports list --needs-customer-review. New Options table documents every flag (--asset-id, --decision, label/brand/reject/watchlist fields, --org, --yes, --dry-run). Confirmation explains interactive prompts, --yes, refusal with exit code 3 when --json, --no-input, or non-TTY stdin is used without --yes, and --dry-run. Examples cover approve, brand-required approve, reject, watchlist with OTHER, and dry-run.

Reviewed by Cursor Bugbot for commit 1fe60be. Bugbot is set up for automated code reviews on this repo. Configure here.

@mintlify

mintlify Bot commented Aug 11, 2026

Copy link
Copy Markdown
Contributor Author

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
chainpatrol 🟢 Ready View Preview Aug 11, 2026, 1:13 PM

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants