Skip to content
#

rebase

Here are 88 public repositories matching this topic...

BartoszSiwinski
BartoszSiwinski commented Oct 4, 2021

Currently we have multiple sys.exit in a few places in the cli.py with different exit codes. It would be good to move all of these sys.exit to one method and process leaving the script there. This way it would be easy to mock exiting from script in tests which in turn would enable us to catch actual errors like MacheteException.

This change would affect for example this code:

    except

Improve this page

Add a description, image, and links to the rebase topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the rebase topic, visit your repo's landing page and select "manage topics."

Learn more