blob: c218bc69a4aa9d6bc8aaed7de7edee92d39322c5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
from cru import CruUserFriendlyException
from ._app import create_app
def main():
app = create_app()
app.run_command()
if __name__ == "__main__":
try:
main()
except CruUserFriendlyException as e:
print(f"Error: {e.user_message}")
exit(1)
|