sincecutoff.com
← all changes

stripe-cli docs preferences list, set, unset, and apply to fetched pages

Introduced 2026-07-29 · score 0.94

HOW TO USE IT

When you need Stripe documentation tailored to a preference, inspect the available values, set or unset a preference, then fetch the page with `stripe docs`. Stored preferences are added as query parameters unless already present in the page URL.

stripe docs prefs list
stripe docs prefs set <id> <value>
stripe docs <path> --no-pager --non-interactive

WHY THIS HELPS

Inspect or fetch Stripe documentation with selected documentation preferences while working on code that uses Stripe APIs.

BEFORE THIS CHANGE

Preferences could be stored in the CLI config but did not affect fetched page content; pages were fetched without them.

REQUIREMENTS AND LIMITATIONS

  • Version: v1.44.1
  • <id> (required): Preference ID. `set` checks it against the available preferences; `unset` removes the stored value.
  • <value> (required): Preference value. `set` checks it against the allowed values when the preference lists values.
  • <path> (required): Documentation page path to read.
  • --no-pager: Write output directly to stdout.
  • --non-interactive: Write output directly without the interactive browser.
  • Prerequisite: Install Stripe CLI; Stripe's quickstart documents installation options.
  • Prerequisite: Preference values are fetched from docs.stripe.com when listing or setting; the set command validates the ID and value against that list.
  • Prerequisite: Preferences are saved in the CLI config under the active profile.
  • Preferences are stored in the CLI config file under the active profile and carry over between sessions.
  • `set` validates the preference ID and value against the live list from docs.stripe.com.
  • Preferences already present in the page URL are left untouched.

FIRST-PARTY EVIDENCE

Check the installed version and the source before using it. Entry JSON

Report a problem with this card