Command.provides

expose its option values by names to its sub or sub sub and etc command. its sub or sub sub and etc command can access these option values using Command.injects by names. remember that it is only useful for non-builtin options!

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

Parameters

name string

the name of option to be exposed

rest string[]

the rest names of options to be exposed

Return Value

Type: Self

Self for chain call

Meta