We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ba20d0 commit 56388eaCopy full SHA for 56388ea
quantflow/cli/commands.py
@@ -32,7 +32,7 @@ def profile(ctx: click.Context, symbol: str) -> None:
32
app = from_context(ctx)
33
data = asyncio.run(get_profile(symbol))
34
if not data:
35
- app.error(f"Company {symbol} not found - try searching")
+ raise click.UsageError(f"Company {symbol} not found - try searching")
36
else:
37
d = data[0]
38
app.print(d.pop("description") or "")
0 commit comments