jneug / parboil

:rice: Parboil lets you generate boilerplate projects from template files.
MIT License
0 stars 0 forks source link

Allow config settings from cli #12

Closed jneug closed 3 years ago

jneug commented 3 years ago

boil should create and populate a click context object that gets passed on to subsequent commands.

The config object is constructed as follows and o duplicate config keys in each step:

  1. Load some defaults,
  2. load the default config file,
  3. load the config file supplied via cli (-c option),
  4. set TPL_DIR to the -tpldir option,
  5. set TPL_DIR to the BOIL_TPL_DIR environment var.
jneug commented 3 years ago

Related to #6

jneug commented 3 years ago

Closed with dc7f7cb00eeced1c0c6e2bc359efa25943466d92