Skip to content

Commit

Permalink
[doc] Add shell to README
Browse files Browse the repository at this point in the history
  • Loading branch information
bc Wong committed Oct 24, 2012
1 parent 42b8a93 commit cc9eac0
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,25 @@ Another example: getting all the services in a cluster:
hue1
>>>

Shell
-----
After installing the `cm_api` Python package, you can use the API shell `cmps`
(CM Python Shell):

$ cmps -H <host> --user admin --password admin
Welcome to the Cloudera Manager Console
Select a cluster using 'show clusters' and 'use'
cloudera> show clusters
+------------------+
| CLUSTER NAME |
+------------------+
| Cluster 1 - CDH4 |
| Cluster 2 - CDH3 |
+------------------+
cloudera>

Please see the `SHELL_README.md` file for more.

Example Scripts
---------------
You can find example scripts in the `python/examples` directory.
Expand Down

0 comments on commit cc9eac0

Please sign in to comment.