@@ -20,7 +20,7 @@ class Vmfloaty
20
20
21
21
def run # rubocop:disable Metrics/AbcSize
22
22
program :version , Vmfloaty ::VERSION
23
- program :description , "A CLI helper tool for Puppet's vmpooler to help you stay afloat"
23
+ program :description , "A CLI helper tool for Puppet's vmpooler to help you stay afloat. \n \n Configuration may be placed in a ~/.vmfloaty.yml file. "
24
24
25
25
config = Conf . read_config
26
26
@@ -90,6 +90,7 @@ def run # rubocop:disable Metrics/AbcSize
90
90
c . option '--json' , 'Prints information as JSON'
91
91
c . option '--token STRING' , String , 'Token for pooler service'
92
92
c . option '--url STRING' , String , 'URL of pooler service'
93
+ c . option '--user STRING' , String , 'User to authenticate with'
93
94
c . action do |args , options |
94
95
verbose = options . verbose || config [ 'verbose' ]
95
96
@@ -212,6 +213,7 @@ def run # rubocop:disable Metrics/AbcSize
212
213
c . option '--json' , 'Outputs hosts scheduled for deletion as JSON'
213
214
c . option '--token STRING' , String , 'Token for pooler service'
214
215
c . option '--url STRING' , String , 'URL of pooler service'
216
+ c . option '--user STRING' , String , 'User to authenticate with'
215
217
c . action do |args , options |
216
218
verbose = options . verbose || config [ 'verbose' ]
217
219
service = Service . new ( options , config )
0 commit comments