Crunz\Console\Command\TaskGeneratorCommand::configure PHP Method

configure() protected method

Configures the current command
protected configure ( )
    protected function configure()
    {
        $this->configurable();
        $this->setName('make:task')->setDescription('Generates a task file with one task.')->setDefinition([new InputArgument('taskfile', InputArgument::REQUIRED, 'The task file name'), new InputOption('frequency', 'f', InputOption::VALUE_OPTIONAL, 'The task\'s frequency', $this->defaults['frequency']), new InputOption('constraint', 'c', InputOption::VALUE_OPTIONAL, 'The task\'s constraint', $this->defaults['constraint']), new InputOption('in', 'i', InputOption::VALUE_OPTIONAL, 'The command\'s path', $this->defaults['in']), new InputOption('run', 'r', InputOption::VALUE_OPTIONAL, 'The task\'s command', $this->defaults['run']), new InputOption('description', 'd', InputOption::VALUE_OPTIONAL, 'The task\'s description', $this->defaults['description']), new InputOption('type', 't', InputOption::VALUE_OPTIONAL, 'The task type', $this->defaults['type'])])->setHelp('This command makes a task file skeleton.');
    }