List file creates problem with two main config files in same directory #18
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
As I use my command app more, I start to notice some flaws. For instance, the lists.yml (or lists.yaml) file being in the same directory as the main file creates an issue.
This brings up questions. If two main config files with different names are in the same directory as a lists.yml file, should there be a way to ignore the lists.yml file when running a main file? Should it be a CLI flag or in the main file itself?
As it stands now, if run with the non-relevant main file, the program will error because the main file does not have
cmdLists.[name].order
references, which are in the lists.yml file. That is, the program can't find anycommands.[name]
referenced by thecmdLists.[name].order
array.