mirror of
https://github.com/puppetlabs/vmfloaty.git
synced 2026-01-25 21:28:40 -05:00
(#1) Use config file for defaults
This commit allows vmfloaty to read from a dotfile for some simple configuration defaults
This commit is contained in:
parent
49b4956323
commit
4c249c0ce4
2 changed files with 27 additions and 6 deletions
12
README.md
12
README.md
|
|
@ -36,3 +36,15 @@ gem install vmfloaty
|
|||
-t, --trace
|
||||
Display backtrace when an error occurs
|
||||
```
|
||||
|
||||
### vmfloaty dotfile
|
||||
|
||||
If you do not wish to continuely specify various config options with the cli, you can have a dotfile in your home directory for some defaults. For example:
|
||||
|
||||
```yaml
|
||||
#file at /Users/me/.vmpooler.yml
|
||||
url: 'http://vmpooler.mycompany.net'
|
||||
user: 'brian'
|
||||
```
|
||||
|
||||
Now vmfloaty will use those config files if no flag was specified.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue