Struct xvc_file::XvcFileCLI
source · pub struct XvcFileCLI {
pub verbosity: u8,
pub quiet: bool,
pub workdir: String,
pub config: Option<Vec<String>>,
pub no_system_config: bool,
pub no_user_config: bool,
pub no_project_config: bool,
pub no_local_config: bool,
pub no_env_config: bool,
/* private fields */
}
Expand description
Operations on data files
This command can be used to operate on files, like
-
adding files to xvc cache and link by various methods
-
calculating hash of files (even outside of xvc repo)
-
listing files in repo (even if they are deleted from workspace)
-
moving files to other locations
-
deleting files and all their associated cache content
Fields§
§verbosity: u8
Verbosity level. Use multiple times to increase command output detail.
quiet: bool
Don’t show any messages.
workdir: String
Set the working directory to run the command as if it’s in that directory.
config: Option<Vec<String>>
Configuration options set from the command line in the form section.key=value
no_system_config: bool
Ignore system config file
no_user_config: bool
Ignore user config file
no_project_config: bool
Ignore project config (.xvc/config)
no_local_config: bool
Ignore local config (.xvc/config.local)
no_env_config: bool
Ignore configuration options from the environment
Trait Implementations§
source§impl Args for XvcFileCLI
impl Args for XvcFileCLI
source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
source§impl Clone for XvcFileCLI
impl Clone for XvcFileCLI
source§fn clone(&self) -> XvcFileCLI
fn clone(&self) -> XvcFileCLI
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl CommandFactory for XvcFileCLI
impl CommandFactory for XvcFileCLI
source§impl Debug for XvcFileCLI
impl Debug for XvcFileCLI
source§impl FromArgMatches for XvcFileCLI
impl FromArgMatches for XvcFileCLI
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
.source§impl Parser for XvcFileCLI
impl Parser for XvcFileCLI
source§fn parse_from<I, T>(itr: I) -> Self
fn parse_from<I, T>(itr: I) -> Self
Parse from iterator, exit on error.
source§fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
Parse from iterator, return Err on error.
source§fn update_from<I, T>(&mut self, itr: I)
fn update_from<I, T>(&mut self, itr: I)
Update from iterator, exit on error.
Auto Trait Implementations§
impl Freeze for XvcFileCLI
impl RefUnwindSafe for XvcFileCLI
impl Send for XvcFileCLI
impl Sync for XvcFileCLI
impl Unpin for XvcFileCLI
impl UnwindSafe for XvcFileCLI
Blanket Implementations§
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
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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>
Converts
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>
Converts
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