Better programmatic use of main()
commitef629fd74c5d963f5b68507179896169a34a078e
authorPeter Grayson <pete@jpgrayson.net>
Mon, 27 Sep 2021 17:22:43 +0000 (27 13:22 -0400)
committerPeter Grayson <pete@jpgrayson.net>
Thu, 14 Oct 2021 18:58:08 +0000 (14 14:58 -0400)
tree93b08112d02025eff9352ad7506d8dcb6b6cfddf
parent60808840279555ba6b1a924a896372c3f1f9ca72
Better programmatic use of main()

Having main() return instead of exit makes it easier to programmatically
invoke main(). Passing argv to main() furthers the same goal.

Signed-off-by: Peter Grayson <pete@jpgrayson.net>
stgit/__main__.py
stgit/main.py