0.0.0-pre.4 • Published 8 years ago
octocat-cli v0.0.0-pre.4
Octocat
Octocat is a CLI for the GitHub.com API. It's great for testing API calls and doing maintenance stuff.
Octocat CLI leverages the github package to handle API calls. For the complete API reference, visit their docs.
Install
- $
npm i octocat-cli -g
Usage
- $
octocat -e repos -m getForOrg -d '{"org": "canjs"}' --pretty- Get allreposforcanjsorg and indent the output.
Options
-V, --version output the version number
-e, --endpoint [endpoint] API endpoint, e.g. "repos"
-m, --method [method] API method, e.g. "getForOrg"
-d, --data [data] Data payload, e.g {org: 'skunkworks'}
--meta Include meta data (headers) in the output
--debug Enabled logging
--pretty Indent output
-h, --help output usage information0.0.0-pre.4
8 years ago
0.0.0-pre.3
8 years ago
0.0.0-pre.2
8 years ago
0.0.0-pre.1
8 years ago
0.0.0-pre.0
8 years ago