This generic function adds --filename= arguments to commands, and does the magic so they get bash completions to find json, yaml, or yml files.
2.9 KiB
2.9 KiB
This generic function adds --filename= arguments to commands, and does the magic so they get bash completions to find json, yaml, or yml files.