Skip to main content

gws orgs

Manage organizations. Today the one subcommand is list, whose main job is to help you discover an org ID so you can point gws config import --org <id> at the right organization (for example when you belong to more than one).

Usage

gws orgs list [options]
ArgumentDescription
listList the organizations you belong to.
FlagDescription
--allInclude organizations where you are only a MEMBER (cannot add projects).
--jsonOutput as JSON (always includes all rows; the consumer filters).

By default list shows the organizations where you can actually create projects. Add --all to also see ones you're only a member of.

Examples

# List orgs where you can add projects
gws orgs list

# Include member-only orgs
gws orgs list --all

# Grab an org ID for scripting
gws orgs list --json

See also

  • gws configgws config import --org <id> targets a specific organization
  • gws login — authenticate before listing orgs