-
-
Notifications
You must be signed in to change notification settings - Fork 35
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
Passing flags to the tasks is conflicting #35
Comments
We definitely should have as low flags as possible. One more conflict may appear if you have bash task using git and you also want to pass the alias flag of |
Could this work using the |
|
Or treat flags before task name as maid flags, but treat arguments after the task name as task arguments: maid --section foo lint --fix This is also how |
So.
While implementing #4, i reconsider the #29. And realized that we only should support
maidfile.md
(from cwd to 5 dirs up) and.maidfile.md
(from cwd to 10 dirs up) by default. One more thing that appeared is that we are a bit limited with what flagsmaid
cli can have, because we are passing flags to the tasks e.g.maid lint --fix
, so--fix
is going to the eslint. I realized that is a bit conflicting while i changed the--path
to more meaningful--config-path
which ESLint has too.So, if not another thing, we can rename the
--path
to, for example,--maidfile
which would be the best. Then i can PR the #4 which is pretty fantastic by the way and works.This issue is more just informatinve and opening the discussion that may appear in future.
The text was updated successfully, but these errors were encountered: