Command.injects

inject the options' values exposed by ancestor command by name that are registered using Command.provides or Command.providesAs, so that we can access this option value.

class Command
injects
(
in string name
,
in string[] rest...
)

Parameters

name string

the name of option to be injected

rest string[]

the rest name of option to be injected

Return Value

Type: Self

Self for chain call

Meta