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