diff options
Diffstat (limited to 'tool/src')
-rw-r--r-- | tool/src/main.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tool/src/main.rs b/tool/src/main.rs index 8a67f30..8135d20 100644 --- a/tool/src/main.rs +++ b/tool/src/main.rs @@ -33,6 +33,8 @@ enum Action { base_path: PathBuf, #[arg(short, long)] brand: String, + #[arg(short, long)] + hostname: String, }, /// Imports a movie, video or series given media and metadata sources New { @@ -90,6 +92,7 @@ fn main() -> anyhow::Result<()> { Action::Init { base_path: path, brand, + hostname, } => { info!("creating new instance..."); std::fs::create_dir_all(path.join("library"))?; @@ -101,6 +104,7 @@ fn main() -> anyhow::Result<()> { File::create_new(path.join("config.yaml"))?, &GlobalConfig { brand: brand.clone(), + hostname, slogan: "Creative slogan here".to_string(), asset_path: path.join("assets"), cache_path: path.join("cache"), |