<feed xmlns='http://www.w3.org/2005/Atom'>
<title>prometheus-borgmatic-exporter/prometheus_borgmatic_exporter/cli.py, branch v2.0.1</title>
<subtitle>Collect borgmatic repository metrics and export them for Prometheus.</subtitle>
<id>https://git.dennisfink.me/prometheus-borgmatic-exporter/atom/prometheus_borgmatic_exporter/cli.py?h=v2.0.1</id>
<link rel='self' href='https://git.dennisfink.me/prometheus-borgmatic-exporter/atom/prometheus_borgmatic_exporter/cli.py?h=v2.0.1'/>
<link rel='alternate' type='text/html' href='https://git.dennisfink.me/prometheus-borgmatic-exporter/'/>
<updated>2026-09-19T15:27:56Z</updated>
<entry>
<title>fix(cli): route diagnostic output to stderr</title>
<updated>2026-09-19T15:27:56Z</updated>
<author>
<name>Dennis Fink</name>
</author>
<published>2026-09-19T15:27:56Z</published>
<link rel='alternate' type='text/html' href='https://git.dennisfink.me/prometheus-borgmatic-exporter/commit/?id=3a52d4cf01e4443aba1b9f78152f673330274295'/>
<id>urn:sha1:3a52d4cf01e4443aba1b9f78152f673330274295</id>
<content type='text'>
Keep diagnostic and progress messages separate from normal stdout output
so the exporter can be used safely in pipelines and command
substitutions.

Allow message helpers to operate without an active Click context, while
preserving quiet, verbose, and debug behavior when a context is
available.

Require Python 3.12 for the generic type parameter syntax used by the
new context-object decorator and refresh the lockfile accordingly.
</content>
</entry>
<entry>
<title>refactor(cli): extract helpers and improve option handling</title>
<updated>2026-09-06T21:24:20Z</updated>
<author>
<name>Dennis Fink</name>
</author>
<published>2026-09-06T21:24:20Z</published>
<link rel='alternate' type='text/html' href='https://git.dennisfink.me/prometheus-borgmatic-exporter/commit/?id=8fedec6a333d089e4f73838333773c74bd74e515'/>
<id>urn:sha1:8fedec6a333d089e4f73838333773c74bd74e515</id>
<content type='text'>
Move shared CLI output helpers into a dedicated module to keep the main
exporter module focused on metric collection.

Also simplify the command-line option definitions, add missing help
text, and allow --color values to be passed with or without an equals
sign.
</content>
</entry>
</feed>
