Rust implementation of OCI Distribution Spec with granular access control
at main 13 lines 358 B view raw
1use clap::Parser; 2 3#[derive(Parser, Clone)] 4#[command(author, version, about, long_about = None)] 5pub(crate) struct Args { 6 // Web server address 7 #[arg(long, env, default_value = "0.0.0.0:8888")] 8 pub(crate) host: String, 9 10 // Path to the users file 11 #[arg(long, env, default_value = "./tmp/users.json")] 12 pub(crate) users_file: String, 13}