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]
| Argument | Description |
|---|---|
list | List the organizations you belong to. |
| Flag | Description |
|---|---|
--all | Include organizations where you are only a MEMBER (cannot add projects). |
--json | Output 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 config—gws config import --org <id>targets a specific organizationgws login— authenticate before listing orgs