From a6a8f94cb3284613ed4c9a87d63725e5ca6fdb80 Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Sun, 19 Jul 2015 18:48:52 +0200 Subject: [PATCH] README --- README.md | 7 ++++++- src/Gist/Command/CreateCommand.php | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3d1dfbb..eb295ad 100644 --- a/README.md +++ b/README.md @@ -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 Help: - Provides a client to create a gist using an API. + Provides a client to create a gist using the API. Arguments: input @@ -173,3 +173,8 @@ Help: --show-url, -u 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/```. diff --git a/src/Gist/Command/CreateCommand.php b/src/Gist/Command/CreateCommand.php index d0b2345..a11569b 100644 --- a/src/Gist/Command/CreateCommand.php +++ b/src/Gist/Command/CreateCommand.php @@ -21,7 +21,7 @@ class CreateCommand extends Command ->addOption('title', 't', InputOption::VALUE_REQUIRED, 'Title of the gist') ->addOption('show-url', 'u', InputOption::VALUE_NONE, 'Display only the gist url') ->setHelp(<<input