IBM / lmctl

Cloud Pak for Network Automation (CP4NA) (previously ALM/TNCO) command line tool
Apache License 2.0
4 stars 19 forks source link

Default LMCONFIG location #62

Closed dvaccarosenna closed 4 years ago

dvaccarosenna commented 4 years ago

Add support for a default LMCONFIG file location at ~/.lmctl/config.yaml When the LMCONFIG env var is not set (and any --config options have not been used) then lmctl will look for a file at this location, raising an error if not found.

dvaccarosenna commented 4 years ago

Also useful to include a command to create an initial configuration file on behalf of the user (although they will have to fill it out with their environment details anyway).

E.g. lmctl create config