Global Options
Flags available across Memberstack CLI commands, including environment targeting, output formatting, pagination, and bulk operation previews.
Mode
The --mode option, or MEMBERSTACK_MODE environment variable, can be used to set the environment mode to sandbox or live. The default mode is sandbox.
memberstack members list --mode live
MEMBERSTACK_MODE=live memberstack members listLive
The --live option is a shorthand for --mode live.
memberstack members list --live
memberstack plans list --liveSandbox
The --sandbox option is a shorthand for --mode sandbox.
MEMBERSTACK_MODE=live memberstack members list --sandboxJSON
The --json option, shorthand -j, or MEMBERSTACK_JSON environment variable, can be used to output raw JSON instead of formatted tables.
memberstack members list --json
memberstack members list -j | jq '.data[].email'Quiet
The --quiet option, shorthand -q, can be used to suppress the banner and non-essential output.
memberstack members list --quiet
memberstack members count -qNo Color
The --no-color option, or NO_COLOR=1 environment variable, can be used to execute commands with no color. This respects the NO_COLOR standard.
memberstack members list --no-colorHelp
The --help option, shorthand -h, can be used to display more information about commands.
memberstack --help
memberstack members --help
memberstack members list -hVersion
The --version option, shorthand -V, shows the installed CLI version.
$ memberstack --version
1.1.0After
The --after option can be used to paginate through list results using a cursor. When more results are available, the output includes an endCursor value. Pass that value to --after to fetch the next page.
memberstack members list
memberstack members list --after eyJpZCI6Im1lbV8xMjM0NTY3ODkwIn0All
The --all option can be used to auto-paginate through all list results in a single command. Do not combine with --after.
memberstack members list --all
memberstack plans list --allDry Run
The --dry-run option can be used to preview bulk operations without applying changes. Supported by bulk-update, bulk-add-plan, and bulk-delete.
memberstack members bulk-update --file updates.csv --dry-run
memberstack members bulk-add-plan --plan pln_abc123 --filter no-plan --dry-runFAQ
How is this guide?
Last updated on