Show
invoke_tasklib.show ¶
Task that shows the resolved config (config.show).
The task is read-only. It validates the config like every other task,
then prints the tasklib section with the origin of each value. It is
the one task of the config namespace.
invoke_tasklib.show.NAMESPACE
module-attribute
¶
NAMESPACE = 'config'
The name of the namespace of the tasks of this module.
invoke_tasklib.show.show ¶
show(c: Context) -> None
Show the resolved config and where each value comes from.
The output is the tasklib section of invoke.yaml with every
key, as the tasks see it, and a comment with the origin of the
value: default, derived (computed from other values or from
the project), project file, environment variable
INVOKE_TASKLIB_... and so on. The config is validated first, like
a task does.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
c
|
Context
|
The invoke context. |
required |