-
Notifications
You must be signed in to change notification settings - Fork 48
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
Partial command name matching #262
Comments
Would be cool, though there are some ambiguities:
|
If the user runs
I wonder if it makes sense to come up with a custom query language that fits this particular purpose, e.g.:
On the other side, using glob seems to be a viable direction too since it is is so commonly known and well defined. |
Currently, if you run
Do you happen to know what happens under the hood for |
I've been using
npm-run-all
where it is possible to say:npm-run-all foobar:*
which executes all commands prefixed with
foobar:
starting with the one that is defined first inpackage.json
and ending with the one that is define last. See an example in the currentpackage.json
of the WebdriverIO project. Specific to Runme: let's say I have the following markdown files:fileA.md
fileB.md
Given I run
runme --project . run task:*
I expect to have the following printed:so
task:C
,task:B
andtask:A
. The order is determined by position within a file (first script is executed first) and location of file (alphabetically sorted).This has been proven for me to be super helpful and a nice mental model to define a stack/pipeline of commands.
It would be nice to eventually see this supported in Runme as well. Wdyat?
The text was updated successfully, but these errors were encountered: