pub fn check_cli() -> clap::ArgMatches<'static> {
        // Defines the input arguments from the cli
        clap::App::new("Parallel Orbital Simulation Environment (POSE)")
            .version("DEV0.1")
            .about("Simulation aimed to model the orbital environment around Earth for bodies at all magnitudes.")
            .args(&[
                clap::Arg::with_name("INPUT")
                    .help("json file containing information on bodies at initialization.")
                    .required(true)
                    .index(1),
                clap::Arg::with_name("out")
                    .help("Output specifier")
                    .short("o")
                    .long("out")
                    .value_name("DIR_NAME")
                    .takes_value(true),
                clap::Arg::with_name("sim_time_step")
                    .help("Simulation time step interval in seconds")
                    .short("s")
                    .long("step")
                    .value_name("STEP_INTERVAL")
                    .takes_value(true)
                    .validator(numeric_validator)
            ])
            .get_matches()
    }
/// Defines the argument structure for the pose simulation program
/// Returns the result of user arguments passed over the cli
Defines the argument structure for the pose simulation program
Returns the result of user arguments passed over the cli
Defines the argument structure for the pose simulation program Returns the result of user arguments passed over the cli
pub fn check_cli() -> clap::ArgMatches<'static> {
        // Defines the input arguments from the cli
        clap::App::new("Parallel Orbital Simulation Environment (POSE)")
            .version("DEV0.1")
            .about("Simulation aimed to model the orbital environment around Earth for bodies at all magnitudes.")
            .args(&[
                clap::Arg::with_name("INPUT")
                    .help("json file containing information on bodies at initialization.")
                    .required(true)
                    .index(1),
                clap::Arg::with_name("out")
                    .help("Output specifier")
                    .short("o")
                    .long("out")
                    .value_name("DIR_NAME")
                    .takes_value(true),
                clap::Arg::with_name("sim_time_step")
                    .help("Simulation time step interval in seconds")
                    .short("s")
                    .long("step")
                    .value_name("STEP_INTERVAL")
                    .takes_value(true)
                    .validator(numeric_validator)
            ])
            .get_matches()
    }
pub fn check_cli ( ) -> clap :: ArgMatches < ' static > { // Defines the input arguments from the cli clap :: App :: new ( " " ) . version ( " " ) . about ( " " ) . args ( & [ clap :: Arg :: with_name ( " " ) . help ( " " ) . required ( true ) . index ( 1 ) , clap :: Arg :: with_name ( " " ) . help ( " " ) . short ( " " ) . long ( " " ) . value_name ( " " ) . takes_value ( true ) , clap :: Arg :: with_name ( " " ) . help ( " " ) . short ( " " ) . long ( " " ) . value_name ( " " ) . takes_value ( true ) . validator ( numeric_validator ) ] ) . get_matches ( ) }
Defines the argument structure for the pose simulation program
Returns the result of user arguments passed over the cli
Defines the argument structure for the pose simulation program Returns the result of user arguments passed over the cli