{"modulePath":"github.com/CubePathInc/cubecli","version":"v1.23.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package org\n\nPackage org holds the commands about the organization itself.\n\n## Constants\n\n```go\nconst PlanPage = \"https://my.cubepath.com/organization/plan\"\n```\nPlanPage is the dashboard page where the plan is bought, changed, cancelled or resumed. cubecli only reads the plan.\n\n## Functions\n\n```go\nfunc Day(s *string) string\n```\nDay shortens an ISO datetime to its date (\"2026-11-01T00:00:00\" -\u003e \"2026-11-01\").\n\n```go\nfunc NewCmd() *cobra.Command\n```\nNewCmd returns the \\`org\\` command group.\n\n## Types\n\n```go\ntype AccountPlan struct {\n\tCode              string  `json:\"code\"`\n\tName              string  `json:\"name\"`\n\tStatus            string  `json:\"status\"`\n\tRenewsAt          *string `json:\"renews_at\"`\n\tCancelAtPeriodEnd bool    `json:\"cancel_at_period_end\"`\n}\n```\nAccountPlan is the \\`plan\\` block of GET /account/me (null = Free).\n\n```go\nfunc (a *AccountPlan) Summary() string\n```\nSummary 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\".\n\n```go\ntype USD struct {\n\tValue float64\n\tSet   bool\n}\n```\nUSD is an amount the API sends either as a JSON number or as a decimal string.\n\n```go\nfunc (u USD) String() string\n```\nString renders the amount as $49.00, or \"-\" when absent.\n\n```go\nfunc (u *USD) UnmarshalJSON(b []byte) error\n```\n\n","path":"github.com/CubePathInc/cubecli/cmd/org","name":"org","synopsis":"Package org holds the commands about the organization itself.","isRedistributable":true}
