Moosh\Command\Moodle23\Course\CourseCreate::__construct PHP Method

__construct() public method

public __construct ( )
    public function __construct()
    {
        parent::__construct('create', 'course');
        $this->addOption('c|category:', 'category id');
        $this->addOption('f|fullname:', 'full name');
        $this->addOption('d|description:', 'description');
        $this->addOption('F|format:', 'format (e.g. one of site, weeks, topics, etc.)');
        $this->addOption('i|idnumber:', 'id number');
        $this->addOption('v|visible:', 'visible (y or n, by default created visible)');
        $this->addArgument('shortname');
        $this->maxArguments = 255;
    }