ptkl template
Search, install, and manage project templates and marketplace activation codes.
Overview
ptkl template wraps the platform's template & marketplace surface: searching the template
catalog, listing templates available to your project, and installing/upgrading/uninstalling a
template into a workspace. A separate activation-code subtree looks up and lists activation
codes redeemed against your account (account/app/integration/template benefits).
Every subcommand supports the standard output flags (-f/--format, -o/--output, --template)
plus the --env <dev|live> option.
Subcommands
| Subcommand | Description |
|---|---|
search |
Search available templates |
available |
List templates available to the current project |
install |
Install a template into a workspace |
upgrade |
Upgrade an installed template |
uninstall |
Uninstall a template from a workspace |
activation-code redeem <code> |
Redeem an activation code for the current user and project |
activation-code list |
List activation codes redeemed by the current user |
ptkl template search
Search the template catalog.
Options
| Option | Description |
|---|---|
-q, --query <json> |
Search query, as a JSON object string (default: {}) |
Example
ptkl template available
List templates available to the current project.
Example
ptkl template install
Install a template into a workspace.
Options
| Option | Description |
|---|---|
-t, --template-id <uuid> |
Template UUID (required) |
-w, --workspace-uuid <uuid> |
Workspace UUID (required) |
-d, --data <json> |
Additional install options, as a JSON object string |
Example
ptkl template upgrade
Upgrade an already-installed template.
Options
| Option | Description |
|---|---|
-t, --template-id <uuid> |
Template UUID (required) |
-w, --workspace-uuid <uuid> |
Workspace UUID (required) |
-d, --data <json> |
Additional upgrade options, as a JSON object string |
Example
ptkl template uninstall
Uninstall a template from a workspace.
Options
| Option | Description |
|---|---|
-t, --template-id <uuid> |
Template UUID (required) |
-w, --workspace-uuid <uuid> |
Workspace UUID (required) |
-d, --data <json> |
Additional uninstall options, as a JSON object string |
Example
ptkl template activation-code
Redeem and list activation codes. Activation codes cover several benefit types
(account/app/integration/template) redeemed through the same endpoint — this is distinct
from ptkl template install, which installs a specific template you already have access to.
ptkl template activation-code redeem
Redeem an activation code for the current user and project.
ptkl template activation-code list
List activation codes redeemed by the current user.
Note
activation-code redeem/list are a different subsystem than search/available/
install/upgrade/uninstall above: they redeem/list account-level activation codes, not
template install operations. See the platform documentation on marketplace codes for details.
See Also
ptkl project— projects, workspaces, and project usersptkl config— per-user configuration- Toolkit Overview — all available toolkit commands