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