From 282af8d8e7a8db1381f3ac0633a6b1bcdb3a763a Mon Sep 17 00:00:00 2001 From: Jason I Date: Mon, 30 Oct 2023 09:03:38 -0700 Subject: [PATCH] chore: change doc comment for quickstart command --- src/dfx/src/commands/quickstart.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/dfx/src/commands/quickstart.rs b/src/dfx/src/commands/quickstart.rs index dce97ef9b8..c3593ae0cd 100644 --- a/src/dfx/src/commands/quickstart.rs +++ b/src/dfx/src/commands/quickstart.rs @@ -34,16 +34,16 @@ use rust_decimal::Decimal; use slog::Logger; use tokio::runtime::Runtime; -/// Use the `dfx quickstart` command to perform initial one time setup for your identity and/or wallet. This command -/// can be run anytime to repeat the setup process or to be used as an informational command, printing +/// Use the `dfx quickstart` command to perform initial one time setup for your identity and/or wallet. +#[derive(Parser)] +pub struct QuickstartOpts; + +// This command can be run anytime to repeat the setup process or to be used as an informational command, printing /// information about your ICP balance, current ICP to XDR conversion rate, and more. /// /// If setup tasks remain, this command is equivalent to running `dfx identity set-wallet` (for importing) or /// `dfx ledger create-canister` followed by `dfx identity deploy-wallet` (for creating), though more steps may /// be added in future versions. -#[derive(Parser)] -pub struct QuickstartOpts; - pub fn exec(env: &dyn Environment, _: QuickstartOpts) -> DfxResult { let env = create_agent_environment(env, Some("ic".to_string()))?; let agent = env.get_agent();