ptkl project
Manage projects, workspaces, invites, and project users from the command line.
Overview
ptkl project is the project control-plane: creating and inspecting projects, managing
workspaces within a project, and inviting and managing project users.
Every subcommand resolves the active profile the same way as the rest of the toolkit, and every
read-shaped subcommand supports the standard output flags (-f/--format, -o/--output,
--template) plus the --env <dev|live> option.
Subcommands
| Subcommand | Description |
|---|---|
list |
List all projects for the current user |
info |
Get information about the current project |
archive |
Archive the current project |
settings |
Update project settings |
workspace create |
Create a new workspace |
workspace update |
Update a workspace |
workspace delete |
Delete a workspace |
invite |
Invite users to the current project |
invites |
List pending invites for the current project |
accept |
Accept a project invite |
users list |
List users in the current project |
users update |
Update a project user |
users remove |
Remove a user from the project |
ptkl project list
List all projects visible to the current user.
Example
ptkl project info
Get information about the project the active profile is scoped to.
Example
ptkl project archive
Archive the current project.
Warning
Archiving a project is a significant, potentially disruptive action — confirm you have the
right profile active (ptkl profile) before running this.
Example
ptkl project settings
Update project-level settings.
Options
| Option | Description |
|---|---|
-d, --data <json> |
Settings object as a JSON string (required) |
Example
ptkl project workspace
Manage workspaces within the current project.
ptkl project workspace create
| Option | Description |
|---|---|
-n, --name <name> |
Workspace name (required) |
-d, --description <description> |
Workspace description |
ptkl project workspace update
| Option | Description |
|---|---|
-u, --uuid <uuid> |
Workspace UUID (required) |
-d, --data <json> |
Fields to update, as a JSON object string (required) |
ptkl project workspace delete
| Option | Description |
|---|---|
-u, --uuid <uuid> |
Workspace UUID (required) |
ptkl project invite
Invite one or more users to the current project.
Options
| Option | Description |
|---|---|
-e, --emails <emails...> |
Email addresses to invite (required) |
-r, --roles <roles...> |
Role UUIDs to grant the invitees (required) |
Example
ptkl project invite \
--emails alice@example.com bob@example.com \
--roles 550e8400-e29b-41d4-a716-446655440000
ptkl project invites
List pending invites for the current project.
Example
ptkl project accept
Accept a pending project invite by UUID.
Options
| Option | Description |
|---|---|
-u, --uuid <uuid> |
Invite UUID (required) |
Example
ptkl project users
Manage users already in the current project (see ptkl users for inviting new
project members through the standalone users command; this subtree operates on project
membership records directly).
ptkl project users list
ptkl project users update
| Option | Description |
|---|---|
-u, --uuid <uuid> |
User UUID (required) |
-d, --data <json> |
Fields to update, as a JSON object string (required) |
ptkl project users remove
| Option | Description |
|---|---|
-u, --uuid <uuid> |
User UUID (required) |
See Also
ptkl template— search, install, and manage project templatesptkl config— per-user configurationptkl users— invite and manage project usersptkl role— manage roles assigned to project users- Toolkit Overview — all available toolkit commands