mod private
{
use crate::*;
use clap::{ Parser, Subcommand, Args };
use commands::raster ;
use std::path::PathBuf;
#[ derive ( Debug, Parser ) ]
pub struct Cli
{
#[ command ( subcommand ) ]
pub command : CliCommand,
}
#[ derive ( Debug, Subcommand ) ]
pub enum CliCommand
{
#[ command ( subcommand, name = "raster" ) ]
Raster( raster::Command ),
}
#[ derive( Debug, Args, Default ) ]
pub struct InputOutput
{
#[ arg( long, short ) ]
pub input : PathBuf,
#[ arg( long, short ) ]
pub output : Option< PathBuf >,
}
}
crate::mod_interface!
{
layer raster;
own use
{
Cli,
CliCommand,
InputOutput,
};
}