This generic function adds --filename= arguments to commands, and does the magic so they get bash completions to find json, yaml, or yml files.
4.7 KiB
4.7 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.