• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

0xmichalis / nftbk / 18681775225

21 Oct 2025 11:05AM UTC coverage: 39.734% (+2.1%) from 37.593%
18681775225

push

github

0xmichalis
feat: move cli code into cli modules and use subcommands

81 of 423 new or added lines in 7 files covered. (19.15%)

1823 of 4588 relevant lines covered (39.73%)

7.32 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/bin/cli.rs
1
use anyhow::Result;
2
use clap::Parser;
3
use dotenv::dotenv;
4
use tracing::debug;
5

6
use nftbk::cli::Cli;
7
use nftbk::logging;
8

9
#[tokio::main]
10
async fn main() -> Result<()> {
×
11
    dotenv().ok();
×
NEW
12
    let cli = Cli::parse();
×
NEW
13
    let log_level = cli.log_level;
×
NEW
14
    let no_color = cli.no_color;
×
NEW
15
    logging::init(log_level, !no_color);
×
16
    debug!(
×
NEW
17
        "Version: {} {} (commit {})",
×
18
        env!("CARGO_BIN_NAME"),
19
        env!("CARGO_PKG_VERSION"),
20
        env!("GIT_COMMIT")
21
    );
22

NEW
23
    cli.run().await
×
24
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc