feat: add image fetching

This commit is contained in:
2026-03-20 19:48:18 +01:00
parent fb62111c7f
commit 12388a9908
17 changed files with 2122 additions and 92 deletions

View File

@@ -1,3 +1,5 @@
//! Program arguments
use std::{
os::{linux::net::SocketAddrExt, unix::net::SocketAddr},
path::PathBuf,
@@ -10,9 +12,11 @@ use clap::Parser;
#[command(version, about, long_about = None)]
#[command(styles = get_clap_styles())]
pub struct Args {
/// Config file path to parse
#[arg(short, default_value = "/etc/authy-oidc.toml")]
pub conf: PathBuf,
/// Pamsock abstract name to connect to
#[cfg(feature = "pamsock")]
#[arg(long, default_value = "pam")]
#[arg(value_parser = parse_as_abstract_name)]