Command-line tools¶
The command-line interface is included with provium. Both entry points use the
same plugin-discovered command catalog:
Application configuration¶
Every command supports repeatable --config KEY.PATH=VALUE overrides, including
commands registered by plugins and commands inside nested groups:
User defaults in ~/.config/provium/*.toml are overridden by project
.provium/*.toml files, then environment variables such as
PROVIUM_CONFIG__PIPELINE__STORE, then --config values. Dedicated flags such
as --store take priority over these settings. See Configuration
for full precedence and the Python API. Procedure JSON/YAML files use the separate
--procedure-config FILE option.
Discover procedures¶
List lightweight definitions without importing procedure implementations:
Show a definition, its configuration schema, typed ports, cardinalities, and a generated invocation synopsis:
Execute a procedure¶
Artifact and file-location bindings use FIELD=PATH; other value inputs use
FIELD=VALUE. Repeat --input or --setup-input for a multi-value field. Repeat
--procedure-config to apply JSON or YAML layers in order (later values override
earlier ones).
provium execute example.DetectV1 \
--procedure-config defaults.yaml \
--procedure-config production.json \
--setup-input model=model.pa \
--input image=image.pa \
--input references=reference-1.pa \
--input references=reference-2.pa \
--output detections=detections.pa
Value inputs declared with int or float parse numeric text; 3.9 is rejected
for an integer field, and non-finite floats are rejected. FilePath accepts local
paths, file:// URLs, and S3 object URIs. Registered custom types use their decoder.
For example, an import procedure can accept --input source=s3://bucket/data.csv
--input skip_rows=3. See Value inputs
for declarations and custom codecs.
Optional inputs and outputs may be omitted. For multi_input_field(...,
optional=True, minimum=2), omit the field entirely or supply at least two values. Unknown fields, bad cardinality,
invalid configuration, resolution failures, and processing failures are printed
to standard error and return exit status 2. Successful execution prints its
provenance execution identity and returns 0.
Run provium --help or provium execute --help for the installed command
surface.
Graph provenance¶
Render an artifact's lineage or generate DOT and Mermaid source with
provium graph. See Provenance graphs for backend setup, label
options, output behavior, and Python examples.
Run pipelines¶
Install provium-pipeline to add the provium pipeline command group.
Use it to validate, inspect, run, and look up file-defined graphs. Direct runs
require output destinations. See Pipelines for graph configuration,
CSV requests, scheduling, caching, and publication.
Install provium-dispatch[postgres] for registered graphs, durable queues,
compute profiles, and coordinated maintenance through provium dispatch.
The base dispatch package also provides local input-set names and lookup.
See Dispatch for the durable workflow and migration from older
pipeline commands. Both groups provide --json; run diagnostics go to stderr.
Enable tab completion¶
Provium completes commands, options, discovered procedure and artifact identifiers, procedure binding fields, and filesystem paths inside bindings.
Enable completion for Bash or Zsh in the current shell:
Add that line to ~/.bashrc or ~/.zshrc to enable it in future shells. You can
instead activate argcomplete globally for Python applications: