Skip to main content

metrik-cli

The metrik command-line interface.

$ metrik --version
$ metrik store path            # which store am I using, and why
$ metrik store ls              # what is in it
$ metrik store show <id>       # one artifact: envelope + payload
$ metrik store lineage <id>    # trace it back to what it was derived from
$ metrik store verify          # rehash everything; non-zero exit if anything is wrong

$ metrik runs ls               # what has been run here, newest first
$ metrik runs ls --failed      # only the ones that did not succeed
$ metrik runs show <id>        # what was asked, what happened, what came out

$ metrik plugins               # which producers are installed and loadable

<id> accepts an abbreviated digest (b3:f8fae13), the way git accepts a short commit.

A run is recorded whether the work succeeded or raised, so a command that produced no artifacts still leaves a trace — with the failure kind, the message, and the remediation that was printed at the time. A success can be re-derived from its artifacts; a failure cannot be re-derived from anything, which is why it is the case most worth recording.

A run whose outputs have gaps in them is partial, not succeeded. That distinction survives to the exit status and to runs ls, so a script cannot mistake a result with holes for a complete one.

Every command runs in-process against a local store. There is no daemon and no network path — the original design sketched a --remote mode against an API server, which was never built and is not planned.

See ADR 012 for the Typer + Rich decision.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

metrik_cli-0.3.0.tar.gz (34.1 kB view details)

Uploaded Source

Built Distribution

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

metrik_cli-0.3.0-py3-none-any.whl (36.8 kB view details)

Uploaded Python 3

File details

Details for the file metrik_cli-0.3.0.tar.gz.

File metadata

  • Download URL: metrik_cli-0.3.0.tar.gz
  • Upload date:
  • Size: 34.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for metrik_cli-0.3.0.tar.gz
Algorithm Hash digest
SHA256 0d69dfc0c1207613823530d3e4c5dd945ae5b9702f96dbfbc234e158e0176f75
MD5 0e5729a626e3b13460fada8d9ae66c45
BLAKE2b-256 696be64f6772732f8ed103f69171e8b1c58c2b426084766e2778b20e39d0461a

See more details on using hashes here.

Provenance

The following attestation bundles were made for metrik_cli-0.3.0.tar.gz:

Publisher: release.yml on Asmodeus14/Metrik

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

File details

Details for the file metrik_cli-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: metrik_cli-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 36.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for metrik_cli-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a9c95af7dfb5c2edb7ea80b8e1ac18df4b9d7423a3e5225ae1edde4dcea64e03
MD5 e2296eb9607b5dc3a37fa39a5f2aa48f
BLAKE2b-256 3a18e7d3886a83c10eabec2f66172b642556e9ac077a5d4c48679b2879e8ddba

See more details on using hashes here.

Provenance

The following attestation bundles were made for metrik_cli-0.3.0-py3-none-any.whl:

Publisher: release.yml on Asmodeus14/Metrik

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