getchwrap

A subprocess wrapper to ergonomically enhance tty user input


License
GPL-3.0
Install
pip install getchwrap==20201123.0

Documentation

pip install getchwrap
getchwrap -h
# create a getchwrap wrapper alias
# alias __git-commit-getchwrap='VISUAL=vi getchwrap eynqsh?d -p "(Stage|Discard).+[?] " --'
# wrap "git commit"
# alias gcp='__git-commit-getchwrap git commit -p'