This is an automated email from the ASF dual-hosted git repository.
rohit pushed a commit to branch master
in repository
https://gitbox.apache.org/repos/asf/cloudstack-cloudmonkey.wiki.git
The following commit(s) were added to refs/heads/master by this push:
new 5f76a8c Updated Usage (markdown)
5f76a8c is described below
commit 5f76a8c692ba9d3b393641477f5cbf4c8791f9ee
Author: Rohit Yadav <[email protected]>
AuthorDate: Tue Jun 26 13:06:34 2018 +0530
Updated Usage (markdown)
---
Usage.md | 29 +++++++++++++++++++++++++++--
1 file changed, 27 insertions(+), 2 deletions(-)
diff --git a/Usage.md b/Usage.md
index 6d99c50..7c0aa37 100644
--- a/Usage.md
+++ b/Usage.md
@@ -1,3 +1,28 @@
-For legacy cloudmonkey (Python based) until version 5.3.3, please refer the
[old cwiki
doc](https://cwiki.apache.org/confluence/display/CLOUDSTACK/CloudStack+cloudmonkey+CLI)
for usage.
+# First steps
-This page is under progress, the usage will be more or less same as the legacy
cloudmonkey (python based).
\ No newline at end of file
+The default server profile has the name `localcloud` with defaults (such as
url and credentials) set to a locally running CloudStack server. Start `cmk`,
create a new server profile, configure your CloudStack server's API endpoint
and run `sync`, for example:
+
+```
+$ cmk
+Loaded in-built API cache. Failed to read API cache, please run 'sync'.
+Apache CloudStack 🐵 cloudmonkey 6.x.y
+Type "help" for details, "sync" to update API cache or press tab to list
options
+Report issues here: https://github.com/apache/cloudstack-cloudmonkey/issues
+
+(localcloud) 🐱 > set profile mycloud
+Loaded server profile: mycloud
+Url: http://localhost:8080/client/api
+Username: admin
+Domain: /
+API Key:
+
+(mycloud) 🐱 > set url http://myprovider.cloud/client/api
+(mycloud) 🐱 > login
+✔ Username: myusername
+✔ Password: **************
+✔ Domain: mydomain
+Successfully logged in and saved credentials to the server profile.
+(mycloud) 🐱 > sync
+⣟ 😺 discovering APIs, please wait...
+```
+You can also use the `set` command to set the various server profile specific
options.
\ No newline at end of file