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

asartalo / shfonts / 4645788125

pending completion
4645788125

push

github

Wayne Duran
ci: name release workflow

280 of 292 relevant lines covered (95.89%)

6.77 hits per line

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

33.33
/src/command/cli.rs
1
pub(crate) use clap::Parser;
2
use std::path::PathBuf;
3

4
#[derive(Parser)]
9✔
5
#[command(
6
    author = "Wayne Duran <asartalo@gmail.com>",
7
    version = "0.1.0",
8
    about = "Download fonts for self-hosting",
9
    long_about = None,
10
)]
11
pub(crate) struct Cli {
12
    pub css_path: String,
×
13

14
    // causes https://rust-lang.github.io/rust-clippy/master/index.html#almost_swapped
15
    #[arg(short = 'd', long = "dir", value_name = "DIRECTORY")]
16
    pub dir: Option<PathBuf>,
17

18
    #[arg(
19
        short = 'p',
20
        long = "font-url-prefix",
21
        value_name = "FONT_URL_PREFIX",
22
        default_value = ""
23
    )]
24
    pub font_url_prefix: String,
×
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

© 2025 Coveralls, Inc