Here's what I'm thinking (this all works locally):
- when tasks are explicitly defined on
argv, run them
- when no tasks are explicitly defined on
argv
- if
.verb.md exists AND no verbfile.js exists, run the readme task (the downside is that we need also inform the user that verb-readme-generator needs to be installed)
- if no
.verb.md, set the default task to default (we can also ask the user if they want to add one, and if so, we can generate it then set the default task to readme)
- if tasks were not passed on
argv and the tasks property defined on the verb config object in package.json or in .verb.json, we will use that value
Questions:
- If tasks are defined in
package.json on the verb config object, or in .verb.json, AND a verbfile.js exists, IMO that doesn't change anything, we should still run the tasks defined on the config object. Pushback? thoughts?
Here's what I'm thinking (this all works locally):
argv, run themargv.verb.mdexists AND noverbfile.jsexists, run thereadmetask (the downside is that we need also inform the user thatverb-readme-generatorneeds to be installed).verb.md, set the default task todefault(we can also ask the user if they want to add one, and if so, we can generate it then set the default task toreadme)argvand thetasksproperty defined on theverbconfig object in package.json or in.verb.json, we will use that valueQuestions:
package.jsonon theverbconfig object, or in.verb.json, AND averbfile.jsexists, IMO that doesn't change anything, we should still run the tasks defined on the config object. Pushback? thoughts?