Skip to main content

Command-line interface for Pragmatiks

Project description

Pragmatiks

Pragma CLI

Ask DeepWiki PyPI version Python 3.13+ License: MIT

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 [--changelog <text>] [-d <dir>] Build wheel via uv build, upload to Artifact Registry, register version (requires uv + keyrings.google-artifactregistry-auth)
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

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

pragmatiks_cli-4.1.2.tar.gz (52.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pragmatiks_cli-4.1.2-py3-none-any.whl (62.3 kB view details)

Uploaded Python 3

File details

Details for the file pragmatiks_cli-4.1.2.tar.gz.

File metadata

  • Download URL: pragmatiks_cli-4.1.2.tar.gz
  • Upload date:
  • Size: 52.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pragmatiks_cli-4.1.2.tar.gz
Algorithm Hash digest
SHA256 1e9251cb35906c33e7dc5a36c60ae455d788e2434bc6a3605379f2a1161f3ccf
MD5 972b8765587627bf24bbec2a19076c96
BLAKE2b-256 f0f5445bb166b63c498ca7ee76fe0489a6cc6636c1d55f9bbe9f1c21c9e04f10

See more details on using hashes here.

Provenance

The following attestation bundles were made for pragmatiks_cli-4.1.2.tar.gz:

Publisher: publish.yaml on pragmatiks/pragma-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pragmatiks_cli-4.1.2-py3-none-any.whl.

File metadata

  • Download URL: pragmatiks_cli-4.1.2-py3-none-any.whl
  • Upload date:
  • Size: 62.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pragmatiks_cli-4.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 062d3dcc3dbdaf15c52616a7f3af5803e59998a9e51c40d12a12472d49686e79
MD5 d407e2b0be2dba60efcb61e7a5672ef3
BLAKE2b-256 2523c30c99f8d75930211ebde35a7142e0d5b6dfeea4803c5c221db4be35a540

See more details on using hashes here.

Provenance

The following attestation bundles were made for pragmatiks_cli-4.1.2-py3-none-any.whl:

Publisher: publish.yaml on pragmatiks/pragma-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page