Navigation
index
modules
|
next
|
previous
|
Invoke documentation
»
Concepts
ΒΆ
Command-line interface
Background
Basics
Short flag peculiarities
The multiple tasks vs positional args problem
The naive approach
Telling tasks apart
Per-task positional args
Invoke’s approach
Space-delimited flag values that look like flags themselves
Invocation basics
Tasks and task options
Per-task help / printing available flags
Globbed short flags
Optional flag values
Resolving ambiguity
Dashes vs underscores in flag names
Automatic Boolean inverse flags
Multiple tasks
Mixing things up
Type mapping
Methodologies
What to do?
Other types
Task execution
Base case
Pre-tasks
Task deduplication
Foregoing deduplication of tasks
Parameterizing tasks
Getting hairy: one task, with one pre-task, parameterized
Still hairy: one task, with a pre-task that itself has a pre-task
All the things: two tasks, each with pre-tasks, both parameterized
Loading collections
Task module discovery
Additional load options
Constructing namespaces
Starting out
Naming your tasks
Aliases
Nesting collections
Importing modules as collections
Default tasks
Mix and match
More shortcuts
Previous topic
Changelog
Next topic
Command-line interface
This Page
Show Source
Quick search
Enter search terms or a module, class or function name.
Navigation
index
modules
|
next
|
previous
|
Invoke documentation
»