Because lambdragon is a pure-code build tool, there is no special notion of a task. All you have is code.
If you want to "do stuff" from the command line, you can simply execute any function in your codebase via the lambdragon
cli.
For example,
// src/build.ts
function task1() {
console.log('task1!');
}
You can then execute this function via the lambdragon
CLI
$ lambdragon src/build.ts#task1
It is a good practice to add all build-related functions to a src/build.ts
file at the top level of your project.
A common practice is to add scripts to your package.json.
{
"scripts": {
"task1" : "lambdragon src/build.ts#task1"
}
}
The Lambdragon VSCode Extension has your back.