ptkl config
Get or set the current user's per-user configuration.
Overview
ptkl config reads and writes the platform's user-scoped configuration document — arbitrary,
user-owned settings that are not tied to any single project (e.g. UI preferences, saved defaults
used by other Protokol tooling). It maps directly onto the platform's GET/PUT config/user
endpoints.
Both subcommands support the standard output flags (-f/--format, -o/--output, --template)
plus the --env <dev|live> option.
Subcommands
| Subcommand | Description |
|---|---|
get |
Get the current user's configuration |
set |
Update the current user's configuration |
ptkl config get
Retrieve the current user's configuration document.
Example
ptkl config set
Write a value into the current user's configuration at a given path.
Options
| Option | Description |
|---|---|
-p, --path <path> |
Config path to write (required) |
-d, --data <json> |
Config data as a JSON string (required) |
Example
ptkl config set --path editor.theme --data '"dark"'
ptkl config set --path notifications --data '{"email":true,"push":false}'
See Also
ptkl project— projects, workspaces, and project usersptkl profile— manage authentication profiles- Toolkit Overview — all available toolkit commands