mirror of
https://github.com/puppetlabs/vmfloaty.git
synced 2026-01-26 05:28:40 -05:00
Add class for getting version
This commit is contained in:
parent
b82d7756de
commit
9b176a7bd5
3 changed files with 11 additions and 2 deletions
|
|
@ -5,12 +5,13 @@ require 'commander'
|
|||
require 'yaml'
|
||||
require 'vmfloaty/auth'
|
||||
require 'vmfloaty/pooler'
|
||||
require 'vmfloaty/version'
|
||||
|
||||
class Vmfloaty
|
||||
include Commander::Methods
|
||||
|
||||
def run
|
||||
program :version, '0.2.5'
|
||||
program :version, Version.get
|
||||
program :description, 'A CLI helper tool for Puppet Labs vmpooler to help you stay afloat'
|
||||
|
||||
config = read_config
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue