shtab
shtab copied to clipboard
Add ability to write completions to the file
It might be useful to write file directly instead of forwarding output to it, e.g. if files are generated automatically in pipeline (via tox or whatever is used) and distributed together with an application. No append option supported.
This commit also updates docs for cases when it is possible to write file directly and no sudo required to write there