Fuse-box: [Sparky][Questions] Several questions regarding tasks/tasknames and help.

Created on 13 Sep 2020  路  3Comments  路  Source: fuse-box/fuse-box

Background

After long time not using fusebox i came back to try it out again.
I saw the CLI Plugin is not available anymore, instead there is the "help" api which is neat!
If i understand correctly, its just triggered when you call fusebox with "help".
But i would like to show the help for example, if a invalid task was executed.

Questions

a) Is it possible to show help when invalid/no tasks were run?
b) Is it possible to define a task name as regex/wildcard?
c) Is it possible to define a "fallback task"? E.g. if no task was found.
d) Is it possible to add "arguments" to a task? E.g. running "node fuse myTask --foo 0"

4.0.0 question

Most helpful comment

@freehuntx currently Sparky in v4 is simplified and doesn't have the same functionality in v3. Pull requests are always welcome and the API is very simple ;-)

All 3 comments

@freehuntx currently Sparky in v4 is simplified and doesn't have the same functionality in v3. Pull requests are always welcome and the API is very simple ;-)

Ive created a PR for RegExp feature.
For CLI i might create a plugin :)

Closed by #1950

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ma2ciek picture ma2ciek  路  3Comments

xdave picture xdave  路  5Comments

nchanged picture nchanged  路  5Comments

viankakrisna picture viankakrisna  路  5Comments

miickel picture miickel  路  4Comments