Command.injectsAs

see also Self injects(string name, string[] rest...). this member function are used for inject an option value as an new name. this is usually used when you want to avoid name confilict.

  1. Self injectsAs(string name, string asName)
    class Command
    injectsAs
    (
    in string name
    ,
    in string asName
    )
  2. Self injectsAs(string[string] optsMap)

Parameters

name string

the name of option to be injected

asName string

the new name of option to be injected

Return Value

Type: Self

Self for chain call

Meta