aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/commands/browse.rs
blob: b6cb08f85cd04a8ecf955f31d0b7f0a86bfd592e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
use clap::Args;

#[derive(Args)]
pub struct BrowseArgs {
    /// Package(s) to browse
    pub packages: Vec<String>,

    /// Open the homepage instead of the repository URL
    #[arg(short = 'H', long)]
    pub homepage: bool,

    /// Only show the homepage or repository URL
    #[arg(short, long)]
    pub show: bool,
}

pub fn execute(_args: &BrowseArgs) {
    todo!()
}