764 B
764 B
As this is my third Go project and remarkably like my git-linter project, I've decided to try and keep the same sort of documentation path I chose for that project.
Strategies
formulaic uses a variety of strategies that it passes through to understand what to do.
-
Parse the command line.
-
Read in the configuration file, in the following order (so later keys override earlier keys):
a. From formulaic.[toml|json|yaml] b. From $HOME/.formulaic/config.[toml|json|yaml] c. As specified as a filename on the command line d. As specified as key-value pairs on the command line.
-
Find or pull down the requested template.
-
Unless otherwise specified, make queries as specified in the formulaic configuration.
-
Generate the project