(#1) Update vmfloaty to use new vmpooler api

This commit also uses commander for arg parsing.

This commit is a WIP.
This commit is contained in:
Brian Cain 2015-09-05 16:17:45 -07:00
parent fcb43ac379
commit 296f9abb1d
11 changed files with 266 additions and 145 deletions

View file

@ -13,14 +13,26 @@ gem install vmfloaty
## Usage
_note:_ subject to change
```
delete Schedules the deletion of a host or hosts
get Gets a vm or vms based on the os flag
help Display global or [command] help documentation
list Shows a list of available vms from the pooler
modify
query
revert
snapshot
status Prints the status of vmpooler
summary
```
Commands:
floaty get <OPERATING SYSTEM,...> # Gets a VM
floaty help [COMMAND] # Describe available commands or one specific command
floaty list [PATTERN] # List all open VMs
floaty modify <HOSTNAME> # (TODO STILL) Modify a VM
floaty release <HOSTNAME,...> [--all] # Schedules a VM for deletion
floaty status # (TODO STILL) List status of all active VMs
GLOBAL OPTIONS:
-h, --help
Display help documentation
-v, --version
Display version information
-t, --trace
Display backtrace when an error occurs
```