jgabaut / amboso

Build tool wrapping make. Written in bash.
GNU General Public License v3.0
4 stars 0 forks source link

[FEATURE] Add support for a global config file #109

Closed jgabaut closed 2 weeks ago

jgabaut commented 3 weeks ago

Primarily useful to set a specific anvil version/kern you may want to use as default, without resorting to command aliasing.

The file could easily be a .toml with familiar keys for core arguments, for now.

To start out, a simple adaptation of the current stego parsing code would suffice. Then, if needed, improvement could be done on the two separately.

The default path will be $HOME/.anvil/anvil.toml.

At a later time, mechanisms to override this path may be patched in (like leveraging env).