Documentation
¶
Overview ¶
Package org implements `w17ctl org` — list the organizations the logged-in user belongs to and choose the default one. The active org is a per-instance default in ~/.w17/auth.yaml; w17ctl threads it as the X-W17-Org selector so the console scopes requests to it (membership is validated server-side). See docs/specs/plugins/auth-cli-login-and-orgs.md.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cmd ¶
type Cmd struct {
List ListCmd `cmd:"" help:"List the organizations you belong to on the active console (--refresh re-fetches from the console)."`
Use UseCmd `cmd:"" help:"Set the default organization (by slug) for the active console — used to scope subsequent commands."`
}
Cmd is the `w17ctl org` group.
Click to show internal directories.
Click to hide internal directories.