futucli/cli/dispatch/account.rs
1use anyhow::Result;
2
3use crate::cmd;
4use crate::output::OutputFormat;
5
6pub(super) async fn dispatch_account(
7 gateway: &str,
8 output: OutputFormat,
9 market: Option<String>,
10 security_firm: Option<String>,
11 all: bool,
12) -> Result<()> {
13 cmd::account::list_accounts(
14 gateway,
15 output,
16 market.as_deref(),
17 security_firm.as_deref(),
18 all,
19 )
20 .await
21}