git.cweiske.de
/
shpub.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add "scope" option to connect command
[shpub.git]
/
src
/
shpub
/
Cli.php
diff --git
a/src/shpub/Cli.php
b/src/shpub/Cli.php
index e071252eb6020b75d70034727d3804fd3cbad5f1..24207a108f71f0e76d1107567aeb3aef7bae5d4e 100644
(file)
--- a/
src/shpub/Cli.php
+++ b/
src/shpub/Cli.php
@@
-24,7
+24,8
@@
class Cli
$res->command->args['server'],
$res->command->args['user'],
$res->command->args['key'],
$res->command->args['server'],
$res->command->args['user'],
$res->command->args['key'],
- $res->command->options['force']
+ $res->command->options['force'],
+ $res->command->options['scope']
);
break;
);
break;
@@
-91,7
+92,7
@@
class Cli
$optParser = new \Console_CommandLine();
$optParser->name = 'shpub';
$optParser->description = 'Command line micropub client';
$optParser = new \Console_CommandLine();
$optParser->name = 'shpub';
$optParser->description = 'Command line micropub client';
- $optParser->version = '0.
1
.0';
+ $optParser->version = '0.
3
.0';
$optParser->subcommand_required = true;
$optParser->addOption(
$optParser->subcommand_required = true;
$optParser->addOption(