fips 1.0.1

A powerful mock server supported by a plugin system
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use clap::Parser;
use std::path::PathBuf;

const VERSION: &str = env!("CARGO_PKG_VERSION");

#[derive(Parser, Clone)]
#[clap(version = VERSION, author = "Florian Pfingstag")]
pub struct CliOptions {
    #[clap(short, long, default_value = ".")]
    pub config: Vec<PathBuf>,
    /// The directory from where to load plugins
    #[clap(long, default_value = ".")]
    pub plugins: PathBuf,
    #[clap(short, long, default_value = "8888")]
    pub port: u16,
    #[clap(long)]
    pub write_schema: bool,
}