Interface CommandOption

The options of the command

See

commander .option() to learn more

Hierarchy

  • CommandOption

Properties

defaultValue?: any

The default value

description?: string

The description of the option

flags: string

The flags the command uses eg '-p,--port'

The function to parse the value

required?: boolean

True if the option is required