Skip to content

chore(cli): update cli after watermarker refactor#306

Merged
mhellmeier merged 7 commits intomainfrom
chore/cli/update-cli-watermarker-refactor
Nov 17, 2025
Merged

chore(cli): update cli after watermarker refactor#306
mhellmeier merged 7 commits intomainfrom
chore/cli/update-cli-watermarker-refactor

Conversation

@Schiphorst-ISST
Copy link
Contributor

Description

updates the cli tool after the big watermarker refactor in #303 to use the new watermarker classes and insert RawInnamarkTags by default. As there are no automated tests for the cli I tested each command manually and recommend the reviewer do the same.
After following the installation instructions the available commands are structured as follows (since the current documentation doesn't provide details yet):

- Innamark [-t <file type>] add <watermark> <source path> [<target path>]
- Innamark [-v -t <file type>] list <source path>
- Innamark [-t <file type>] remove <source path> [<target path>]
- Innamark text add <cover string> <watermark string>
- Innamark [-v] text list <watermarked text string>
- Innamark text remove <watermarked text string>

square brackets denote optional arguments, file type can be "text" or "zip" (case insensitive)

Linked Issue(s)

Fixes #259

CLA

By submitting this pull request, I have read the Corporate Contributor License Agreement (CLA) and I hereby accept and sign the CLA.

@Schiphorst-ISST Schiphorst-ISST added component: cli Command Line Interface refactor Refactor the code labels Nov 7, 2025
Copy link
Member

@mhellmeier mhellmeier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was able to successfully build the CLI tool on my machine. I was also able to watermark a file and extract the watermark afterward. It was also able to extract the output in the webinterface. Further, the new error messages also work.

@mhellmeier mhellmeier merged commit b09d51c into main Nov 17, 2025
5 checks passed
@mhellmeier mhellmeier deleted the chore/cli/update-cli-watermarker-refactor branch November 17, 2025 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component: cli Command Line Interface refactor Refactor the code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use InnamarkTags in CLI Tool by Default

2 participants