mirror of
https://github.com/puppetlabs/vmfloaty.git
synced 2026-01-26 05:28:40 -05:00
Initial commit of vmfloaty
This commit is contained in:
parent
1f86113243
commit
99b03e2994
9 changed files with 76 additions and 3 deletions
1
lib/vmfloaty.rb
Normal file
1
lib/vmfloaty.rb
Normal file
|
|
@ -0,0 +1 @@
|
|||
require 'vmfloaty/cli'
|
||||
25
lib/vmfloaty/cli.rb
Normal file
25
lib/vmfloaty/cli.rb
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
require 'thor'
|
||||
|
||||
class CLI < Thor
|
||||
desc "get", "Gets a vm"
|
||||
def get
|
||||
say 'Get a vm here'
|
||||
end
|
||||
|
||||
desc "modify", "Modify a vm"
|
||||
def modify
|
||||
say 'Modify a vm'
|
||||
end
|
||||
|
||||
desc "list", "List all active vms"
|
||||
def list
|
||||
say 'Listing your vms'
|
||||
end
|
||||
|
||||
desc "release", "Schedules a vm for deletion"
|
||||
def release
|
||||
say 'Releases a vm'
|
||||
end
|
||||
end
|
||||
|
||||
CLI.start(ARGV)
|
||||
5
lib/vmfloaty/version.rb
Normal file
5
lib/vmfloaty/version.rb
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
module Vmfloaty
|
||||
module CLI
|
||||
VERSION = '0.1.0'
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue