http-server 1.0.0-pre.6fa7635

Simple and configurable command-line HTTP server
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
pub mod command;

use clap::Parser;

use self::command::Command;

#[derive(Debug, Parser)]
#[command(
    name = "http-server",
    author = "Esteban Borai <estebanborai@gmail.com>",
    about = "Simple and configurable command-line HTTP server\nSource: https://github.com/http-server-rs/http-server"
)]
pub struct Cli {
    #[command(subcommand)]
    pub command: Command,
}