registry
List registries for an owner, create a registry, or invite a user to one.
skillhub registry manages registries: list the registries for an owner, create
a new one, or invite a user to one. Visibility (private or public) is chosen at
create time with --visibility — this is the only place visibility is set, never
at publish.
Synopsis
skillhub registry <list|create|invite> [target] [user] [--role <role>] [--visibility <visibility>] [--description <text>]Flags
| Flag | Description |
|---|---|
--role <role> | Invite role: reader, publisher, or admin |
--visibility <visibility> | Registry visibility on create: private or public (default private) |
--description <text> | Registry description on create |
Examples
skillhub registry list @studio
skillhub registry create design-systems --visibility private --description "Studio design skills"
skillhub registry invite @studio/design-systems freya --role publisherJSON output
With --json, the data object is one of, by action:
- list —
{ action: "list", owner, registries[{ id, owner{ type: user | org, handle }, slug, displayName, description, visibility: private | public, defaultOrgRole: none | reader | publisher | admin, reviewRequired (bool), createdAt, updatedAt }], nextCursor }. - create —
{ action: "create", ref, registry{ …same registry shape } }. - invite —
{ action: "invite", ref, role: reader | publisher | admin, invite{ id, target, email, githubHandle, invitedBy, acceptedAt, expiresAt, createdAt }, inviteUrl }.