Platformsh\Cli\Command\Project\ProjectListCommand::configure PHP Method

configure() protected method

protected configure ( )
    protected function configure()
    {
        $this->setName('project:list')->setAliases(['projects'])->setDescription('Get a list of all active projects')->addOption('pipe', null, InputOption::VALUE_NONE, 'Output a simple list of project IDs')->addOption('host', null, InputOption::VALUE_REQUIRED, 'Filter by region hostname (exact match)')->addOption('title', null, InputOption::VALUE_REQUIRED, 'Filter by title (case-insensitive search)')->addOption('my', null, InputOption::VALUE_NONE, 'Display only the projects you own')->addOption('refresh', null, InputOption::VALUE_REQUIRED, 'Whether to refresh the list', 1)->addOption('sort', null, InputOption::VALUE_REQUIRED, 'A property to sort by', 'title')->addOption('reverse', null, InputOption::VALUE_NONE, 'Sort in reverse (descending) order');
        Table::addFormatOption($this->getDefinition());
    }