-
-
Notifications
You must be signed in to change notification settings - Fork 14
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
CLI: Output only one file #180
Comments
currently, mobanfile take precedence over cli, meaning if there exists a moban file, moban will process mobanfile. Now with the presence of the mobanfile, moban receive a few params, i.e. -o 'single.output', what should moban do?
|
CLI should always take precedence over configuration files. "The user is always right" they added CLI arguments. They shouldnt be ignored. |
but with the presence of mobanfile, do you overlap the cli commands with mobanfile, meaning cli command in this case will select things from mobanfile? the other way of handling cli, is that ignore mobanfile although it is present, then user cli commands must be complete. |
…s. v0.4.1 or earlier, copy targets are executed in a separate handler, meaning at least the counter, the number of templated files are reset, and there will be two stastistics. And this change make cli target a clear priority. fix #180
moban -o output
currently processes all files intargets:
CLI args should always take precedence of config file.
This is similar to the last sentence of
#133
The text was updated successfully, but these errors were encountered: