Documentation
¶
Overview ¶
Package org holds the commands about the organization itself.
Index ¶
Constants ¶
const PlanPage = "https://my.cubepath.com/organization/plan"
PlanPage is the dashboard page where the plan is bought, changed, cancelled or resumed. cubecli only reads the plan.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AccountPlan ¶
type AccountPlan struct {
Code string `json:"code"`
Name string `json:"name"`
Status string `json:"status"`
RenewsAt *string `json:"renews_at"`
CancelAtPeriodEnd bool `json:"cancel_at_period_end"`
}
AccountPlan is the `plan` block of GET /account/me (null = Free).
func (*AccountPlan) Summary ¶
func (a *AccountPlan) Summary() string
Summary renders the plan in one cell: "Free", "Pro, renews 2026-11-01", "Pro (past_due), renews 2026-11-01" or "Pro, ends 2026-11-01".