NicoHood / GPGit

A shell script that automates the process of signing Git sources via GPG
MIT License
89 stars 10 forks source link

Add non-interactive mode for scripted execution #11

Closed wolph closed 6 years ago

wolph commented 6 years ago

Right now the script always asks for confirmation making it impossible to execute gpgit from other release scripts: https://github.com/NicoHood/gpgit/blob/4ee493d453c04ff5bbce130fa5102622f23fcf9f/gpgit.py#L953

It would be useful to have a yes parameter

Note that this can be worked around through: yes | gpgit ...

NicoHood commented 6 years ago

Closing as I switched back to bash. I dont know if I will use the python version again, bash seems still simpler to code and easier to install.