Pragma CLI
Documentation | SDK | Providers
Command-line interface for managing Pragmatiks resources.
Installation
pip install pragmatiks-cli
Enable shell completion:
pragma --install-completion
Quick Start
# Authenticate
pragma auth login
# Apply a resource from YAML
pragma resources apply bucket.yaml
# Check status
pragma resources get gcp/storage my-bucket
Commands
Resources
| Command | Description |
|---|---|
pragma resources list |
List resources with optional filters |
pragma resources types |
List available resource types |
pragma resources get <type> [name] |
Get resource(s) by type |
pragma resources describe <type> <name> |
Show detailed resource info |
pragma resources apply <file> |
Apply resources from YAML |
pragma resources delete <type> <name> |
Delete a resource |
pragma resources tags list/add/remove |
Manage resource tags |
Providers
| Command | Description |
|---|---|
pragma providers list |
List deployed providers |
pragma providers init <name> |
Initialize a new provider project |
pragma providers update |
Update project from template |
pragma providers publish [dir] [--wheel <path>] [--changelog <file>] |
Build wheel via uv build (or take a prebuilt one) and upload it to the Pragmatiks API, which hosts it and computes its digest |
pragma providers deploy <id> [version] |
Deploy a specific version |
pragma providers status <id> |
Check deployment status |
pragma providers delete <id> [--cascade] |
Delete a provider |
Configuration
| Command | Description |
|---|---|
pragma config current-context |
Show current context |
pragma config get-contexts |
List available contexts |
pragma config use-context <name> |
Switch context |
pragma config set-context <name> --api-url <url> |
Create/update context |
pragma config delete-context <name> |
Delete context |
Authentication
| Command | Description |
|---|---|
pragma auth login |
Authenticate (opens browser) |
pragma auth whoami |
Show current user |
pragma auth logout |
Clear credentials |
Operations
| Command | Description |
|---|---|
pragma ops dead-letter list |
List failed events |
pragma ops dead-letter show <id> |
Show event details |
pragma ops dead-letter retry <id> [--all] |
Retry failed event(s) |
pragma ops dead-letter delete <id> [--all] |
Delete failed event(s) |
Environment Variables
| Variable | Description |
|---|---|
PRAGMA_CONTEXT |
Override current context |
PRAGMA_AUTH_TOKEN |
Authentication token |
PRAGMA_AUTH_TOKEN_<CONTEXT> |
Context-specific token |
License
MIT
Metadata
Release files for pragmatiks-cli 5.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pragmatiks_cli-5.0.0.tar.gz | 52.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pragmatiks_cli-5.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 115.4 kB
Release files / pragmatiks_cli-5.0.0.tar.gz
| Download URL | pragmatiks_cli-5.0.0.tar.gz |
|---|---|
| Size | 52.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
36d1870939a9b3913353afcb60cc69ab0cad2c9716c2f9d621ac70e9f0aac26c
|
|
BLAKE2b-256 checksum How to use checksums |
b1a8e41cd6c294df1abe8884faf8ef3a562476606fa2dd3003e46bf3f2bea01c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 19, 2026.
Transparency logRelease files / pragmatiks_cli-5.0.0-py3-none-any.whl
| Download URL | pragmatiks_cli-5.0.0-py3-none-any.whl |
|---|---|
| Size | 62.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
32bfbddede16f1ce222176eac3c3b2a297ada89ea845f94866ad5f319499c390
|
|
BLAKE2b-256 checksum How to use checksums |
7acf894786ca22b8b2e80d897cb69b8ebf15185eb7844545ff47d8adc788af82
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 19, 2026.
Transparency log