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

0xmichalis / nftbk / 18694864959

21 Oct 2025 07:09PM UTC coverage: 45.123% (+0.04%) from 45.086%
18694864959

push

github

0xmichalis
feat: add support for NO_COLOR and FORCE_COLOR

4 of 8 new or added lines in 3 files covered. (50.0%)

2142 of 4747 relevant lines covered (45.12%)

7.83 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::envvar::should_enable_color;
8
use nftbk::logging;
9

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

24
    cli.run().await
×
25
}
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