Remove CLI docs from readme
This commit is contained in:
parent
f3821f9917
commit
8ae04bc41c
20
README.md
20
README.md
|
@ -182,26 +182,6 @@ if upload.resumable?
|
|||
end
|
||||
```
|
||||
|
||||
## Command Line
|
||||
|
||||
Included with the gem is a command line interface for working with Google APIs.
|
||||
|
||||
```bash
|
||||
# Log in
|
||||
google-api oauth-2-login --client-id='...' --client-secret='...' --scope="https://www.googleapis.com/auth/plus.me"
|
||||
|
||||
# List the signed-in user's activities
|
||||
google-api execute plus.activities.list --api=plus -- userId="me" collection="public"
|
||||
|
||||
# Start an interactive API session
|
||||
google-api irb
|
||||
>> plus = $client.discovered_api('plus')
|
||||
>> $client.execute(plus.activities.list, {'userId' => 'me', 'collection' => 'public'})
|
||||
=> # returns a response from the API
|
||||
```
|
||||
|
||||
For more information, use `google-api --help`
|
||||
|
||||
## Samples
|
||||
|
||||
See the full list of [samples on Github](https://github.com/google/google-api-ruby-client-samples).
|
||||
|
|
Loading…
Reference in New Issue