blob: 415d816b2e07ebc856e2c3ed4173ec897c711f9b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
use clap::{Parser, Subcommand};
/// Simple bookmarks manager written in Rust
#[derive(Debug, Parser)]
#[command(version, about, long_about = None)]
pub struct Cli {
#[command(subcommand)]
pub command: Command,
}
#[derive(Debug, Subcommand)]
pub enum Command {
/// Start the web server to serve the bookmarks page
#[command(name = "serv")]
Serv,
}
|