Skip to content

Commit

Permalink
[rooch-networkgh-2468] fmt code.
Browse files Browse the repository at this point in the history
  • Loading branch information
Feliciss committed Aug 19, 2024
1 parent ce6be16 commit 77687e0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions crates/rooch/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ use crate::commands::db::DB;
use crate::commands::event::EventCommand;
use crate::commands::indexer::Indexer;
use crate::commands::statedb::Statedb;
use clap::builder::{
styling::{AnsiColor, Effects},
Styles,
};
use cli_types::CommandAction;
use commands::{
abi::ABI, account::Account, dynamic_field::DynamicField, env::Env, genesis::Genesis,
Expand All @@ -14,7 +18,6 @@ use commands::{
};
use once_cell::sync::Lazy;
use rooch_types::error::RoochResult;
use clap::builder::{styling::{AnsiColor, Effects}, Styles};

pub mod cli_types;
pub mod commands;
Expand All @@ -30,7 +33,6 @@ styles = Styles::styled()
pub struct RoochCli {
#[clap(subcommand)]
pub cmd: Command,

}

static LONG_VERSION: Lazy<String> = Lazy::new(|| {
Expand Down Expand Up @@ -88,5 +90,4 @@ pub async fn run_cli(opt: RoochCli) -> RoochResult<String> {
Command::Upgrade(upgrade) => upgrade.execute().await,
Command::DB(db) => db.execute().await,
}

}

0 comments on commit 77687e0

Please sign in to comment.