Permalink
Browse files

[doc] Add shell to README

  • Loading branch information...
1 parent 42b8a93 commit cc9eac02b03b7732c385bb1edebd7457fab42e80 bc Wong committed Oct 24, 2012
Showing with 19 additions and 0 deletions.
  1. +19 −0 README.md
View
@@ -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.

0 comments on commit cc9eac0

Please sign in to comment.