omg_api/
theme.rs

1use clap::Subcommand;
2
3#[derive(Debug, Subcommand)]
4pub enum Theme {
5    /// List available omg.lol profile themes
6    List,
7    /// Get information about a specific theme
8    Info {
9        /// ID of the theme to get information for
10        id: String,
11    },
12    /// Get a preview (HTML) of a theme
13    Preview {
14        /// ID of the theme to get a preview (HTML) of
15        id: String,
16    },
17}
18
19impl Theme {
20    pub fn process(&self, _address: &str) {
21        match self {
22            Theme::List => todo!(),
23            Theme::Info { id: _ } => todo!(),
24            Theme::Preview { id: _ } => todo!(),
25        }
26    }
27}