1. Wikistrat
  2. Untitled project
  3. Miracloud CLI

Commits

Daniel Green  committed 9889757

Improve README

  • Participants
  • Parent commits 736b6ce
  • Branches master

Comments (0)

Files changed (1)

File README

View file
 
 Sample Output:
 
+List all virtual machines
 ``$ python miracloud.py -l``
 
 ::
     Domain: AA015515
     State:  Stopped
 
+Stop a virtual machine and display it's state
 ``$ python miracloud.py -v mailserver1 --stop -s``
 
 ::
 
     miracloud: stopping virtual machine
     virtual machine "mailserver1" is stopping.
-    miracloud: listing virtual machines
+    miracloud: retrieving virtual machine state
 
     Alias:  mailserver1
     Name:   i-11327-44212-VM
     ID:     26343
     Domain: AA015515
-    State:  Stopping
+    State:  Stopping
+
+Alternate syntax using ID instead of name and skipping state
+``$ python miracloud.py -v 26343 --stop``
+
+::
+
+    miracloud: stopping virtual machine
+    virtual machine #26343 is stopping.