Refer to /demo for the config used to generate these.
doit --echo ^task1
=> clojure -M:project/1
Prefer home
doit --echo --me ^task1
=> clojure -M:home/1
Override from home
doit --echo ^task2
=> clojure -M:home/2
Override from project when preferring home
doit --echo -m ^task3
=> clojure -M:project/3
Override from home and project
doit --echo ^task4
=> clojure -M:project/4
Override from home and project, then favor home's override
doit --echo --me ^task4
=> clojure -M:home/4
doit --echo ^taskA
=> clojure -M:home/A
doit --echo mycmd ^params1
=> mycmd --run home
doit --echo clojure -M:dev/run^alias1
=> clojure -M:dev/run:env/home
Add your own aliases and params
doit --echo ^task1:env/demo --run demo
=> clojure -M:project/1:env/demo --run demo
Combine aliases
doit --echo ^task1^alias1 ^params1
=> clojure -M:project/1:env/home --run home
Aliases of aliases
doit --echo ^task1^combined1
=> clojure -M:project/1:env/home --run home
Easy multiline. Multiline tasks just get str joined.
doit --echo ^multiline1
=> mycmd --param 1
If you want to run multiple tasks from this use &&
doit --echo ^multiline2
=> mycmd && mycmd1