File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed
Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -151,6 +151,13 @@ reference breaks.
151151When installing a .zip file, WP-CLI extracts the package to
152152` ~/.wp-cli/packages/local/<package-name> ` .
153153
154+ If Github token authorization is required, a GitHub Personal Access Token
155+ (https://github.com/settings/tokens ) can be used. The following command
156+ will add a GitHub Personal Access Token to Composer's global configuration:
157+ composer config -g github-oauth.github.com <GITHUB_TOKEN>
158+ Once this has been added, the value used for <GITHUB_TOKEN> will be used
159+ for future authorization requests.
160+
154161** OPTIONS**
155162
156163 <name|git|path|zip>
Original file line number Diff line number Diff line change @@ -188,6 +188,13 @@ public function browse( $_, $assoc_args ) {
188188 * When installing a .zip file, WP-CLI extracts the package to
189189 * `~/.wp-cli/packages/local/<package-name>`.
190190 *
191+ * If Github token authorization is required, a GitHub Personal Access Token
192+ * (https://github.com/settings/tokens) can be used. The following command
193+ * will add a GitHub Personal Access Token to Composer's global configuration:
194+ * composer config -g github-oauth.github.com <GITHUB_TOKEN>
195+ * Once this has been added, the value used for <GITHUB_TOKEN> will be used
196+ * for future authorization requests.
197+ *
191198 * ## OPTIONS
192199 *
193200 * <name|git|path|zip>
You can’t perform that action at this time.
0 commit comments