Block a user
convex-project-cli (0.1.3)
Published 2026-06-12 12:18:58 +00:00 by ivo.zilkenat
Installation
pip install --index-url --extra-index-url https://pypi.org/ convex-project-cliAbout this package
Generic CLI framework for a Convex deployment — branded config, spec-driven discovery, and the config/functions/describe/call commands.
convex-project-cli
Generic CLI framework for driving a Convex deployment's public API as a real user. Supplies the reusable machinery a branded CLI needs:
AppBranding— the data that names a CLI: display name, config filename, YAML top-key, env-var prefix, JWT-cache filename.- Multi-env YAML config loading, parameterized by branding → a
convex_rpc.Config. - On-disk JWT cache (
FileTokenCache) implementing theconvex_rpc.TokenCachehook. - Output formatting (at-core
OutputFormatter, table /--json). - Generic commands —
config,functions,describe,call— spec-driven discovery + the call escape hatch, reading a bundledspec.jsonthe host app supplies. ConvexCliApp— the extension API a host CLI (e.g.plexus-cli) builds on: pass branding, a spec loader, and host-specific commands; it assembles the argparse skeleton + dispatch.
A host app specializes this with its own branding, its own subcommands, and its own
bundled spec. Run standalone (convex-project) with just a spec + a branded YAML config.
Requirements
Requires Python: >=3.12
Details
2026-06-12 12:18:58 +00:00
Assets (2)
Versions (5)
View all
PyPI
0
31 KiB