X-Git-Url: https://git.cweiske.de/shpub.git/blobdiff_plain/0103f507ef72ef369b2f7e9f90fe8922b691c33f..fa014d88919516a9763a6a9ab0c620ef102f04e4:/src/shpub/Cli.php diff --git a/src/shpub/Cli.php b/src/shpub/Cli.php index 733f4df..113c149 100644 --- a/src/shpub/Cli.php +++ b/src/shpub/Cli.php @@ -31,7 +31,10 @@ class Cli case 'server': $cmd = new Command_Server($this->cfg); - $cmd->run($res->command->options['verbose']); + $cmd->run( + $res->command->args['server'], + $res->command->options['verbose'] + ); break; default: @@ -92,7 +95,7 @@ class Cli $optParser = new \Console_CommandLine(); $optParser->name = 'shpub'; $optParser->description = 'Command line micropub client'; - $optParser->version = '0.3.0'; + $optParser->version = '0.6.0'; $optParser->subcommand_required = true; $optParser->addOption( @@ -128,6 +131,7 @@ class Cli Command_Repost::opts($optParser); Command_Rsvp::opts($optParser); Command_Bookmark::opts($optParser); + Command_X::opts($optParser); Command_Delete::opts($optParser); Command_Undelete::opts($optParser);