Platformsh\Cli\Command\Activity\ActivityListCommand::configure PHP Метод

configure() защищенный Метод

protected configure ( )
    protected function configure()
    {
        $this->setName('activity:list')->setAliases(['activities'])->addOption('type', null, InputOption::VALUE_REQUIRED, 'Filter activities by type')->addOption('limit', null, InputOption::VALUE_REQUIRED, 'Limit the number of results displayed', 5)->addOption('start', null, InputOption::VALUE_REQUIRED, 'Only activities created before this date will be listed')->addOption('all', 'a', InputOption::VALUE_NONE, 'Check activities on all environments')->setDescription('Get a list of activities for an environment or project');
        Table::addFormatOption($this->getDefinition());
        $this->addProjectOption()->addEnvironmentOption();
        $this->addExample('List recent activities for the current environment')->addExample('List all recent activities for the current project', '--all')->addExample('List recent pushes', '--type environment.push')->addExample('List pushes made before 15 March', '--type environment.push --start 2015-03-15');
    }
ActivityListCommand