99use PHPCR \Shell \Console \Application \ShellApplication ;
1010use PHPCR \Shell \Console \Application \Shell ;
1111use PHPCR \Shell \Console \Input \StringInput ;
12+ use Symfony \Component \Console \Input \InputArgument ;
1213
1314/**
1415 * The shell command is the command used to configure the shell session
@@ -51,7 +52,6 @@ public function configure()
5152 new InputOption ('--transport ' , '-t ' , InputOption::VALUE_REQUIRED , 'Transport to use. ' ),
5253 new InputOption ('--phpcr-username ' , '-pu ' , InputOption::VALUE_REQUIRED , 'PHPCR Username. ' , 'admin ' ),
5354 new InputOption ('--phpcr-password ' , '-pp ' , InputOption::VALUE_OPTIONAL , 'PHPCR Password. ' , 'admin ' ),
54- new InputOption ('--phpcr-workspace ' ,'-pw ' , InputOption::VALUE_OPTIONAL , 'PHPCR Workspace. ' , 'default ' ),
5555 new InputOption ('--db-username ' , '-du ' , InputOption::VALUE_REQUIRED , 'Database Username. ' , 'root ' ),
5656 new InputOption ('--db-name ' , '-dn ' , InputOption::VALUE_REQUIRED , 'Database Name. ' , 'phpcr ' ),
5757 new InputOption ('--db-password ' , '-dp ' , InputOption::VALUE_OPTIONAL , 'Database Password. ' ),
@@ -65,6 +65,8 @@ public function configure()
6565 new InputOption ('--profile ' , '-p ' , InputOption::VALUE_OPTIONAL , 'Speicfy a profile name, use wit <info>--transport</info> to update or create ' ),
6666 new InputOption ('--unsupported ' , null , InputOption::VALUE_NONE , 'Show all commands, including commands not supported by the repository ' ),
6767 new InputOption ('--command ' , null , InputOption::VALUE_REQUIRED |InputOption::VALUE_IS_ARRAY , 'Run the given command ' ),
68+
69+ new InputArgument ('workspace ' , InputArgument::OPTIONAL , 'Workspace to start with ' , 'default ' ),
6870 ));
6971 }
7072
0 commit comments