src/Run/Commands/ConfigTrait.php
protected function configDefaultOptions(Command $command)
    {
        $defaultConfPath = getcwd() . '/' . $this->confDir;
        $command->addArgument('working-directory', InputOption::VALUE_REQUIRED, 'Working directory', getcwd());
        $command
            ->addOption('app-type', null, InputOption::VALUE_REQUIRED, 'Application type', StaticApplicationInterface::APP_TYPE_WEB)
            ->addOption('app-host', null, InputOption::VALUE_REQUIRED, 'Host to run', '127.0.0.1')
            ->addOption('app-port', null, InputOption::VALUE_REQUIRED, 'Port to run', 4000)
            ->addOption('app-debug', null, InputOption::VALUE_REQUIRED, 'Enable debug', true)
            ->addOption('app-config', null, InputOption::VALUE_REQUIRED, 'Configs dir path', $defaultConfPath);
    }
protected function configDefaultOptions(Command $command)
    {
        $defaultConfPath = getcwd() . '/' . $this->confDir;
        $command->addArgument('working-directory', InputOption::VALUE_REQUIRED, 'Working directory', getcwd());
        $command
            ->addOption('app-type', null, InputOption::VALUE_REQUIRED, 'Application type', StaticApplicationInterface::APP_TYPE_WEB)
            ->addOption('app-host', null, InputOption::VALUE_REQUIRED, 'Host to run', '127.0.0.1')
            ->addOption('app-port', null, InputOption::VALUE_REQUIRED, 'Port to run', 4000)
            ->addOption('app-debug', null, InputOption::VALUE_REQUIRED, 'Enable debug', true)
            ->addOption('app-config', null, InputOption::VALUE_REQUIRED, 'Configs dir path', $defaultConfPath);
    }
Config application's wide options
@param Command $command