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

Refactor io mode user interface #516

Merged
merged 6 commits into from
Jul 26, 2020
Merged

Conversation

foresterre
Copy link
Owner

closes #515

Right now we have "-i some -o just --mode simple" (equal in usage to "-i some -o just") and "-i some/* -o just --mode glob" for single file and glob mode respectively.

These i/o modes affect the readability and ability to quickly determine what you need to use.
Thus, for clarity I split simple and glob mode to use "--input" and "--output", and "--glob-input" and "--glob-output" respectively.

At some point we can give "--glob-input" and "--glob-output" also shorter aliases.
@foresterre foresterre force-pushed the refactor/io-mode-interface branch 2 times, most recently from b458cd3 to da5b0a9 Compare July 23, 2020 21:55
@foresterre
Copy link
Owner Author

image

@foresterre foresterre force-pushed the refactor/io-mode-interface branch 2 times, most recently from c258ccd to b666123 Compare July 23, 2020 22:29
@foresterre foresterre force-pushed the refactor/io-mode-interface branch from b666123 to 3272411 Compare July 23, 2020 22:51
@foresterre foresterre changed the title Refactor/io mode interface Refactor io mode user interface Jul 25, 2020
Finalize cargo options mainly is inconvenient, since we need to always call it after providing features (and possibly other cargo options), and before entering sic's options.
@foresterre foresterre merged commit db47fe6 into master Jul 26, 2020
@foresterre foresterre deleted the refactor/io-mode-interface branch July 26, 2020 17:53
@foresterre foresterre added this to the 0.13.0 milestone Aug 1, 2020
@foresterre foresterre mentioned this pull request Aug 7, 2020
18 tasks
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.

split simple and glob input/output modes to their own i/o commands
1 participant