Skip to main content

qualia_cli/cli/
webizen.rs

1use clap::Subcommand;
2use std::path::PathBuf;
3
4#[derive(Subcommand, Debug)]
5pub enum WebizenAction {
6    Init {
7        #[arg(help = "Path to the repository to initialize")]
8        path: PathBuf,
9    },
10    Ingest {
11        url: String,
12        repo: std::path::PathBuf,
13        #[arg(short, long)]
14        format: Option<String>,
15    },
16    ValidateGitmark {
17        repo: PathBuf,
18    },
19    PublishIpfs {
20        file: PathBuf,
21    },
22    SeedWebtorrent {
23        file: PathBuf,
24    },
25    DnsFrontdoor {
26        domain: String,
27        repo: PathBuf,
28    },
29}