Crate sic_cli_ops
source · [−]Modules
Functions
Parses cli image operation definitions to image engine image operations.
This parser however doesn’t replace Clap, and specifically its validator.
For example, --flip-horizontal 0
will not be allowed
by Clap’s validator. The function below however does allow it, since we parse
only the amount of arguments we expect to receive, in this case 0.
Since we can rely on Clap, we left the added complexity out here.