diff options
author | metamuffin <metamuffin@disroot.org> | 2023-10-28 21:59:10 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2023-10-28 21:59:10 +0200 |
commit | 200db4e9dca32de6f01cc88ed88971a817b08aff (patch) | |
tree | b1355ab807b4904b858221c09d6ca02c67a06a66 /tool | |
parent | cf153543e52ac0134ffbe956829a25e12959c2a4 (diff) | |
download | jellything-200db4e9dca32de6f01cc88ed88971a817b08aff.tar jellything-200db4e9dca32de6f01cc88ed88971a817b08aff.tar.bz2 jellything-200db4e9dca32de6f01cc88ed88971a817b08aff.tar.zst |
recursive federation!!
Diffstat (limited to 'tool')
-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"), |