pub struct Cli {Show 18 fields
pub init: Vec<PathBuf>,
pub execute: Vec<String>,
pub file: Option<PathBuf>,
pub continue_on_error: bool,
pub quiet: bool,
pub timing: bool,
pub no_history: bool,
pub history_file: Option<PathBuf>,
pub object_store_url: Vec<String>,
pub object_store_config: Vec<String>,
pub object_store_local_path: Option<PathBuf>,
pub s3_endpoint: Option<String>,
pub s3_access_key_id: Option<String>,
pub s3_secret_access_key: Option<String>,
pub s3_session_token: Option<String>,
pub s3_region: Option<String>,
pub s3_allow_http: Option<bool>,
pub s3_path_style: bool,
}Fields§
§init: Vec<PathBuf>SQL file to run before the main command, script, stdin, or REPL.
execute: Vec<String>SQL to execute. May be passed more than once.
file: Option<PathBuf>SQL script file to execute.
continue_on_error: boolContinue running later batch statements after an error.
quiet: boolSuppress OK and timing output.
timing: boolPrint elapsed time for each executed statement.
no_history: boolDisable REPL history.
history_file: Option<PathBuf>REPL history file. Defaults to $DUCKLAKE_CLI_HISTORY or ~/.ducklake-cli-history.
object_store_url: Vec<String>Object-store root to register, such as s3://bucket. May be repeated.
object_store_config: Vec<String>Object-store configuration key/value pair, passed to object_store.
object_store_local_path: Option<PathBuf>Register the object-store URL as a local filesystem prefix.
s3_endpoint: Option<String>S3-compatible endpoint URL.
s3_access_key_id: Option<String>S3-compatible access key id.
s3_secret_access_key: Option<String>S3-compatible secret access key.
s3_session_token: Option<String>S3-compatible session token.
s3_region: Option<String>S3-compatible region.
s3_allow_http: Option<bool>Allow HTTP for S3-compatible stores.
s3_path_style: boolUse path-style S3-compatible requests.
Trait Implementations§
Source§impl Args for Cli
impl Args for Cli
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl CommandFactory for Cli
impl CommandFactory for Cli
Source§impl FromArgMatches for Cli
impl FromArgMatches for Cli
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>
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>
ArgMatches to self.Source§impl Parser for Cli
impl Parser for Cli
Source§fn parse_from<I, T>(itr: I) -> Self
fn parse_from<I, T>(itr: I) -> Self
Source§fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
Source§fn update_from<I, T>(&mut self, itr: I)
fn update_from<I, T>(&mut self, itr: I)
Auto Trait Implementations§
impl Freeze for Cli
impl RefUnwindSafe for Cli
impl Send for Cli
impl Sync for Cli
impl Unpin for Cli
impl UnsafeUnpin for Cli
impl UnwindSafe for Cli
Blanket Implementations§
impl<T> Allocation for T
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more