-
-
Notifications
You must be signed in to change notification settings - Fork 106
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
Allow options to be used before commands #25
Comments
Ok figured out a workaround. For DocPad's use case, there is a |
If they work in the same way then BTW Can you list some software that actually allow this? In |
Which is information cac does know
npm
|
Going to close this for now, as I have no need for this feature anymore, as the workaround I came up with earlier is working fine for my use case. It would be nice to see, as other CLI apps do use this, but it is suitable edge case that has workarounds that it isn't important. |
So, I think CAC will support this in 6.0 🤔 Working on it! |
Hello, I encountered this issue as well. A good use case is shebang! I'm working on making When calling the script with something like:
And cac will interpret it like this:
Ideally I would expect:
|
I am looking to implement cac into DocPad. However, I need to be able to specify options before or after commands.
Here is an example source file:
And here is its output:
The former output should behave the same as the latter output.
The text was updated successfully, but these errors were encountered: