Grids, orgs, and spaces
Grids and orgs
Section titled “Grids and orgs”A grid is your organization’s home on CloudGrid. Every entity belongs to
exactly one grid. A user can belong to several grids, and switches between them
with grid use.
grid whoami # see your identity and grid membershipsgrid use my-company # set the active grid for subsequent commandsgrid get grids # list the grids you belong toThe active grid is where new entities land unless you override it with the
--grid <slug> flag on a single command.
You become the admin of any grid you create:
grid create grid my-new-gridSpaces
Section titled “Spaces”A space is a group within a grid that shapes discovery — think of it like a channel. Members see entities scoped to their spaces. Spaces do not change who can access an entity (that is visibility); they shape what shows up in discovery.
grid space list # list spaces in the active gridgrid space create dev-tools # create one (admin only)grid space show dev-tools # detailsgrid space invite dev-tools alice@example.comSpaces are membership groupings — create one, then invite members and manage them
with the grid space subcommands above. See the
Spaces CLI reference for the full command set.
Members and roles
Section titled “Members and roles”Admins manage grid membership:
grid admin invite alice@example.com --role developergrid admin membersgrid admin member-role alice@example.com admingrid admin remove bob@example.comRoles govern what a member can do in the grid (creating and deploying entities, managing members and settings). See the Admin CLI reference.
Entity resolution
Section titled “Entity resolution”When a command targets an entity, the CLI resolves it in this order:
- No argument, inside a linked directory — reads
.cloudgrid/link.json. - A UUID — globally unique, unambiguous.
org/slug— globally addressable.- A bare slug — searched across all your grid memberships. If the slug
matches entities in more than one grid, the CLI errors and asks you to
disambiguate with
org/slug.
The --grid <slug> flag scopes resolution to one grid.