eye_config 0.5.1

A configuration persistence library and CLI tool.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use crate::cli::command::Command;
use crate::cli::global_args::GlobalArgs;
use clap::Parser;

#[derive(Parser, Debug)]
#[cfg_attr(feature = "bevy", derive(bevy_reflect::Reflect))]
#[cfg_attr(feature = "bevy", reflect(Resource))]
#[command(author, version, about, long_about = None)]
pub struct Args {
    #[command(flatten)]
    pub global: GlobalArgs,

    #[command(subcommand)]
    pub command: Command,
}