mirror of
https://github.com/puppetlabs/vmfloaty.git
synced 2026-01-26 05:28:40 -05:00
Update get doc
This commit is contained in:
parent
15ca0a3b25
commit
c8dc80c1f1
2 changed files with 7 additions and 7 deletions
12
README.md
12
README.md
|
|
@ -19,10 +19,10 @@ _note:_ subject to change
|
||||||
|
|
||||||
```
|
```
|
||||||
Commands:
|
Commands:
|
||||||
floaty get <OPERATING SYSTEM,...> [--withpe] # Gets a VM
|
floaty get <OPERATING SYSTEM,...> [--withpe version] # Gets a VM
|
||||||
floaty help [COMMAND] # Describe available commands or one specific command
|
floaty help [COMMAND] # Describe available commands or one specific command
|
||||||
floaty list [PATTERN] # List all open VMs
|
floaty list [PATTERN] # List all open VMs
|
||||||
floaty modify <HOSTNAME> # Modify a VM
|
floaty modify <HOSTNAME> # Modify a VM
|
||||||
floaty release <HOSTNAME> # Schedules a VM for deletion
|
floaty release <HOSTNAME> # Schedules a VM for deletion
|
||||||
floaty status # List status of all active VMs
|
floaty status # List status of all active VMs
|
||||||
```
|
```
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@ require 'thor'
|
||||||
require 'net/http'
|
require 'net/http'
|
||||||
|
|
||||||
class CLI < Thor
|
class CLI < Thor
|
||||||
desc "get <OPERATING SYSTEM,...> [--withpe]", "Gets a VM"
|
desc "get <OPERATING SYSTEM,...> [--withpe version]", "Gets a VM"
|
||||||
option :withpe
|
option :withpe
|
||||||
def get(os_list)
|
def get(os_list)
|
||||||
# POST -d os_list vmpooler.company.com/vm
|
# POST -d os_list vmpooler.company.com/vm
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue