CLI reference / Billing

CLI reference

Billing

wiele billing: subscription status, Stripe Checkout, plan changes and the customer portal.

Owners and admins run the billing commands. Wiele never sees card details: checkout and portal print Stripe links that a person opens in a browser. Plans and prices are on Billing and plans.

wiele billing status

Show the organization's plan, subscription state, trial or renewal date, members and billed storage.

wiele billing status [flags]
Flag Description
--org string Organization ID or slug. Default: the checkout's organization when the workspace comes from the checkout, otherwise the one picked with wiele org use.

wiele billing checkout

Print a Stripe Checkout link that collects a card and starts the plan. New organizations get a 7-day trial.

wiele billing checkout [flags]
Flag Description
--plan starter|pro|enterprise Required. Plan to start.
--org string Organization ID or slug. Default: the checkout's organization when the workspace comes from the checkout, otherwise the one picked with wiele org use.
--idempotency-key string UUIDv7 that makes the request safe to retry. Each run generates one; pass the same key to replay a request after a timeout.
--wait string Wait for the subscription to start, such as 10m.

wiele billing plan

Move the organization's subscription to another plan. Stripe prorates the monthly price.

wiele billing plan [flags]
Flag Description
--plan starter|pro|enterprise Required. Plan to move to.
--org string Organization ID or slug. Default: the checkout's organization when the workspace comes from the checkout, otherwise the one picked with wiele org use.
--idempotency-key string UUIDv7 that makes the request safe to retry. Each run generates one; pass the same key to replay a request after a timeout.

wiele billing portal

Print a Stripe Customer Portal link to update the card, see invoices or cancel, as an owner or admin.

wiele billing portal [flags]
Flag Description
--org string Organization ID or slug. Default: the checkout's organization when the workspace comes from the checkout, otherwise the one picked with wiele org use.
--idempotency-key string UUIDv7 that makes the request safe to retry. Each run generates one; pass the same key to replay a request after a timeout.