Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setopt resize sampling_filter #102

Merged
merged 12 commits into from
Apr 19, 2019
Merged

setopt resize sampling_filter #102

merged 12 commits into from
Apr 19, 2019

Conversation

foresterre
Copy link
Owner

@foresterre foresterre commented Apr 11, 2019

Add initial support for options with setopt resize sampling_filter <VAL>.


issue: #44
related: https://github.com/foresterre/combostew/tree/optenv

Separation of the cli (Clap) related code to stew_cli reduced code
duplication related to the cli code across sic and stew.
However, any change or addition to this module becomes very tedious,
especially since this module is currently constantly undergoing change
in order to simplify and optimise usage of sic (and stew).

For this reason, the module will be reintegrated within sic for the
foreseeable future, at least until the cli interface stabilises.
Then a decision will be made on what can be logically split to the cli
module, and what should be kept separated (even if this means duplication).
@foresterre foresterre merged commit 641bcf6 into master Apr 19, 2019
@foresterre foresterre deleted the options_flags branch April 19, 2019 20:30
@foresterre foresterre changed the title [in progress] setopt resize sampling_filter setopt resize sampling_filter Apr 19, 2019
foresterre added a commit that referenced this pull request Apr 21, 2019
Grammar for setopt (and setflag):
setflag [for-command] [flag-to-be-set];
setopt [for-comand] [option-to-be-set] [option-value];

* Adapt parsing module to support the new image transformation engine.
* Update parser grammar to allow for flags and options to be set.
* Update parser to support setopt resize sampling_filter.
* Reintegrate cli (Clap) related code within sic.

Separation of the cli (Clap) related code to stew_cli reduced code
duplication related to the cli code across sic and stew.
However, any change or addition to this module becomes very tedious,
especially since this module is currently constantly undergoing change
in order to simplify and optimise usage of sic (and stew).

For this reason, the module will be reintegrated within sic for the
foreseeable future, at least until the cli interface stabilizes.
Then a decision will be made on what can be logically split to the cli
module, and what should be kept separated (even if this means duplication).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant