blob: e3b9287a8e04aafea70c9a7c1ee100c565dae6fe (
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, _cli: &super::Cli) -> anyhow::Result<()> {
todo!()
}
|