This commit is contained in:
Simon Vieille 2015-07-19 18:48:52 +02:00
parent 50c2dc9538
commit a6a8f94cb3
2 changed files with 7 additions and 2 deletions

View file

@ -156,7 +156,7 @@ Options:
-v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug -v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
Help: Help:
Provides a client to create a gist using an API. Provides a client to create a gist using the API.
Arguments: Arguments:
input input
@ -173,3 +173,8 @@ Help:
--show-url, -u --show-url, -u
Display only the url of the gist Display only the url of the gist
``` ```
#### Personal instance
If you install Gist on your server, the have to modify the ```base_uri``` of the API.
Edit ```app/bootstrap.php.d/60-api.php``` and modify ```https://gist.deblan.org/```.

View file

@ -21,7 +21,7 @@ class CreateCommand extends Command
->addOption('title', 't', InputOption::VALUE_REQUIRED, 'Title of the gist') ->addOption('title', 't', InputOption::VALUE_REQUIRED, 'Title of the gist')
->addOption('show-url', 'u', InputOption::VALUE_NONE, 'Display only the gist url') ->addOption('show-url', 'u', InputOption::VALUE_NONE, 'Display only the gist url')
->setHelp(<<<EOF ->setHelp(<<<EOF
Provides a client to create a gist using an API. Provides a client to create a gist using the API.
Arguments: Arguments:
<info>input</info> <info>input</info>