src/Slashworks/AppBundle/Command/ApiCommand.php
protected function configure()
        {

            // get systemname
            $sAppName = SystemSettings::get('app_name');

            // set cli options
            $this->setName($sAppName . ':remote:cron')->addOption('app', null, InputOption::VALUE_REQUIRED, 'run only for specific remote app', false)->addOption('force', null, InputOption::VALUE_NONE, 'force to run remote app / ignore cron settings')->setDescription('Run/Crawl registered remote apps');
        }
protected function configure()
        {

            // get systemname
            $sAppName = SystemSettings::get('app_name');

            // set cli options
            $this->setName($sAppName . ':remote:cron')->addOption('app', null, InputOption::VALUE_REQUIRED, 'run only for specific remote app', false)->addOption('force', null, InputOption::VALUE_NONE, 'force to run remote app / ignore cron settings')->setDescription('Run/Crawl registered remote apps');
        }
protected function configure ( ) { // get systemname $ sAppName = SystemSettings :: get ( 'app_name' ) ; // set cli options $ this -> setName ( $ sAppName . ':remote:cron' ) -> addOption ( 'app' , null , InputOption :: VALUE_REQUIRED , 'run only for specific remote app' , false ) -> addOption ( 'force' , null , InputOption :: VALUE_NONE , 'force to run remote app / ignore cron settings' ) -> setDescription ( 'Run/Crawl registered remote apps' ) ; }
configure cli command for making api calls
configure cli command for making api calls