in src/choose.py [0:0]
def main(argv: List[str]) -> int:
file_path = state_files.get_pickle_file_path()
if not os.path.exists(file_path):
print("Nothing to do!")
output.write_to_file('echo ":D";')
output.append_exit()
return 0
output.clear_file()
# we initialize our args *before* we move into curses
# so we can benefit from the default argparse
# behavior:
flags = ScreenFlags.init_from_args(argv[1:])
curses.wrapper(lambda x: do_program(CursesScreen(x), flags))
return 0