pub struct Build {
pub file: PathBuf,
pub out: Option<PathBuf>,
pub context: Option<PathBuf>,
pub no_pretty: Option<bool>,
}Fields§
§file: PathBufTarget path to render. If the target path is a directory, the root folder must contains the index.sql file
out: Option<PathBuf>Output path. The file will be overwritten if is already exists
context: Option<PathBuf>Change the context current working dir
no_pretty: Option<bool>No pretty print for SQL
Trait Implementations§
source§impl FromArgMatches for Build
impl FromArgMatches for Build
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches ) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches ) -> Result<(), Error>
Assign values from
ArgMatches to self.source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches ) -> Result<(), Error>
Assign values from
ArgMatches to self.