Command-line interface for Pragmatiks
Project description
Pragma CLI
Documentation | SDK | Providers
Command-line interface for managing pragma-os 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 push [--deploy] |
Build and push (optionally deploy) |
pragma providers deploy <id> [version] |
Deploy a specific version |
pragma providers status <id> |
Check deployment status |
pragma providers builds <id> |
List build history |
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pragmatiks_cli-0.27.5.tar.gz.
File metadata
- Download URL: pragmatiks_cli-0.27.5.tar.gz
- Upload date:
- Size: 28.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2a315a30b54976fc9e3f5bcb4a79603143d9771a3cb81e242d527ce17ebceac3
|
|
| MD5 |
eb32ef78f5addf76b57306896f93ceec
|
|
| BLAKE2b-256 |
6b965082864f00e4c1e8e6de72fb214108d01f2217e2cc36ffb820a87d8973fc
|
Provenance
The following attestation bundles were made for pragmatiks_cli-0.27.5.tar.gz:
Publisher:
publish.yaml on pragmatiks/pragma-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pragmatiks_cli-0.27.5.tar.gz -
Subject digest:
2a315a30b54976fc9e3f5bcb4a79603143d9771a3cb81e242d527ce17ebceac3 - Sigstore transparency entry: 1181437642
- Sigstore integration time:
-
Permalink:
pragmatiks/pragma-cli@bda3f884c3831b38648afd6a52f45a948fbe7e39 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/pragmatiks
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@bda3f884c3831b38648afd6a52f45a948fbe7e39 -
Trigger Event:
push
-
Statement type:
File details
Details for the file pragmatiks_cli-0.27.5-py3-none-any.whl.
File metadata
- Download URL: pragmatiks_cli-0.27.5-py3-none-any.whl
- Upload date:
- Size: 34.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6a9b81b46bc17b02079acc3c501fa2995f000b8ff883045061ebacb8dee28eb2
|
|
| MD5 |
2a72f4f68080bd9ab58f43f79db65b5d
|
|
| BLAKE2b-256 |
9d87bbc55adeac789034da4ab219682c959d77441b9ac61e48a4f107c3395f46
|
Provenance
The following attestation bundles were made for pragmatiks_cli-0.27.5-py3-none-any.whl:
Publisher:
publish.yaml on pragmatiks/pragma-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pragmatiks_cli-0.27.5-py3-none-any.whl -
Subject digest:
6a9b81b46bc17b02079acc3c501fa2995f000b8ff883045061ebacb8dee28eb2 - Sigstore transparency entry: 1181437643
- Sigstore integration time:
-
Permalink:
pragmatiks/pragma-cli@bda3f884c3831b38648afd6a52f45a948fbe7e39 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/pragmatiks
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@bda3f884c3831b38648afd6a52f45a948fbe7e39 -
Trigger Event:
push
-
Statement type: