@@ -94,6 +94,7 @@ protected function configure()
9494 ->addOption ('db-pass ' , null , InputOption::VALUE_REQUIRED , 'Database pass ' , '' )
9595 ->addOption ('db-name ' , null , InputOption::VALUE_REQUIRED , 'Database name ' , 'moodle ' )
9696 ->addOption ('db-host ' , null , InputOption::VALUE_REQUIRED , 'Database host ' , 'localhost ' )
97+ ->addOption ('db-port ' , null , InputOption::VALUE_REQUIRED , 'Database port ' , '' )
9798 ->addOption ('not-paths ' , null , InputOption::VALUE_REQUIRED , 'CSV of file paths to exclude ' , $ paths )
9899 ->addOption ('not-names ' , null , InputOption::VALUE_REQUIRED , 'CSV of file names to exclude ' , $ names )
99100 ->addOption ('extra-plugins ' , null , InputOption::VALUE_REQUIRED , 'Directory of extra plugins to install ' , $ extra )
@@ -174,7 +175,8 @@ public function initializeInstallerFactory(InputInterface $input)
174175 $ input ->getOption ('db-name ' ),
175176 $ input ->getOption ('db-user ' ),
176177 $ input ->getOption ('db-pass ' ),
177- $ input ->getOption ('db-host ' )
178+ $ input ->getOption ('db-host ' ),
179+ $ input ->getOption ('db-port ' )
178180 );
179181
180182 return $ factory ;
0 commit comments