Quick actions

cmd+k|ctrl+k

Navigation

Languages

pymi.vn - refactor

Snippet info

Language

Python

Visibility

unlisted

Author

legacy-anonymous

Created

2023-05-14T08:41:49.916177Z

Updated

2023-05-14T08:41:49.916177Z

import sys
import lib


def main():
    try:
        config = lib.parse_config(sys.argv)
    except Exception as e:
        exit(f"Problem parsing arguments: {e}\n")

    try:
        lib.run(config)
    except Exception as e:
        exit(f"Application error: {e}")


if __name__ == "__main__":
    main()
INFO