Skip to content
This repository was archived by the owner on Apr 29, 2026. It is now read-only.

Feat/cli stdin stdout#11

Merged
Tatarinho merged 2 commits into
mainfrom
feat/cli-stdin-stdout
Apr 22, 2026
Merged

Feat/cli stdin stdout#11
Tatarinho merged 2 commits into
mainfrom
feat/cli-stdin-stdout

Conversation

@Tatarinho
Copy link
Copy Markdown
Owner

No description provided.

Michal Piotrowski added 2 commits April 22, 2026 19:39
All three subcommands (anonymize, deanonymize, detect) now accept '-' as
the input path, which means 'read from stdin'. Deanonymize additionally
treats '--output -' as explicit stdout (equivalent to omitting
--output). Makes the CLI usable in shell pipelines without a scratch
file per step.

Mapping paths stay file-only — piping structural state across commands
is more footgun than feature.

Four new tests cover stdin reads for all three subcommands and the
explicit '-o -' deanonymize form.
Adds a 'Stdin / stdout pipelines' section showing the '-' convention
for each subcommand and explicit '-o -' for deanonymize, with a note
that --mapping remains file-only.
@Tatarinho Tatarinho merged commit 221bbbd into main Apr 22, 2026
7 checks passed
Tatarinho pushed a commit that referenced this pull request Apr 22, 2026
v0.1.0 has never been published to PyPI and no version tag exists, so
the simplest correct move is to treat everything merged since the
'Prepare v0.1.0' commit as part of the 0.1.0 release itself. Adds the
CLI version/stdin/stdout features, round-trip property tests,
thread-safety docs, importlib.metadata-based version, [project.urls],
and the dependency-wording fix under [0.1.0], and bumps the entry date
to 2026-04-22.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant