Definition-bound filters for dynamic commands
How to indicate that my_json_tool myfile
should suggest myfile.json
, but not myfile.txt
?
Should the definitions have their own set of filters to avoid having to spawn a shell to execute a sed/perl matching?
Maybe a regex could be provided for substitution? If so, what regex style?