fal-ai / fal

⚡ Fastest way to serve open source ML models to millions
https://fal.ai/docs
Apache License 2.0
549 stars 47 forks source link

fix(cli): don't try to print typical cli/click exceptions #125

Closed efiop closed 7 months ago

efiop commented 7 months ago

For example, when you don't specify a subcommand you get a 0 printed, which is coming from a click's Exit exception:

$ fal auth
Usage: fal auth [OPTIONS] COMMAND [ARGS]...

Options:
  --help  Show this message and exit.

Commands:
  login
  logout
0
efiop commented 7 months ago

For the record:

FAILED projects/fal/tests/test_apps.py::test_app_client_async - AssertionError: Logs missing from Completed status

is unrelated and also fails on main 😢 Will take a look later today.