[−][src]Struct git_trim::args::Args
Fields
bases: Vec<String>
Comma separated multiple names of branches. All the other branches are compared with the upstream branches of those branches. [default: master] [config: trim.base]
protected: Vec<String>
Comma separated multiple glob patterns (e.g. release-*
, feature/*
) of branches that should never be deleted.
[default:
no_update: bool
Do not update remotes [config: trim.update]
update: bool
update_interval: Option<u64>
Prevents too frequent updates. Seconds between updates in seconds. 0 to disable. [default: 3] [config: trim.update_interval]
no_confirm: bool
Do not ask confirm [config: trim.confirm]
confirm: bool
no_detach: bool
Do not detach when HEAD is about to be deleted [config: trim.detach]
detach: bool
delete: Vec<DeleteFilter>
Comma separated values of <filter unit>[:<remote name>]
.
Filter unit is one of the all, merged, gone, local, remote, merged-local, merged-remote, stray-local, stray-remote
.
You can scope a filter unit to specific remote :<remote name>
to a filter unit
when the filter unit implies merged-remote
or stray-remote
.
[default : merged:origin
] [config: trim.filter]
If there are filter units that are scoped, it trims remote branches only in the specified remote. If there are any filter unit that isn`t scoped, it trims all remote branches.
all
implies merged-local,merged-remote,stray-local,stray-remote
.
merged
implies merged-local,merged-remote
.
stray
implies stray-local,stray-remote
.
local
implies merged-local,stray-local
.
remote
implies merged-remote,stray-remote
.
dry_run: bool
Do not delete branches, show what branches will be deleted.
Methods
impl Args
[src]
pub fn update(&self) -> Option<bool>
[src]
pub fn confirm(&self) -> Option<bool>
[src]
pub fn detach(&self) -> Option<bool>
[src]
Trait Implementations
impl ParseArgs for Args
[src]
impl StructOpt for Args
[src]
fn clap<'a, 'b>() -> App<'a, 'b>
[src]
fn from_clap(matches: &ArgMatches) -> Self
[src]
fn from_args() -> Self
[src]
fn from_iter<I>(iter: I) -> Self where
I: IntoIterator,
<I as IntoIterator>::Item: Into<OsString>,
<I as IntoIterator>::Item: Clone,
[src]
I: IntoIterator,
<I as IntoIterator>::Item: Into<OsString>,
<I as IntoIterator>::Item: Clone,
fn from_iter_safe<I>(iter: I) -> Result<Self, Error> where
I: IntoIterator,
<I as IntoIterator>::Item: Into<OsString>,
<I as IntoIterator>::Item: Clone,
[src]
I: IntoIterator,
<I as IntoIterator>::Item: Into<OsString>,
<I as IntoIterator>::Item: Clone,
impl StructOptInternal for Args
[src]
fn augment_clap<'a, 'b>(app: App<'a, 'b>) -> App<'a, 'b>
[src]
fn is_subcommand() -> bool
[src]
fn from_subcommand(_sub: (&'b str, Option<&'b ArgMatches<'a>>)) -> Option<Self>
[src]
Auto Trait Implementations
impl RefUnwindSafe for Args
impl Send for Args
impl Sync for Args
impl Unpin for Args
impl UnwindSafe for Args
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,