pub struct Cli {Show 18 fields
pub name_or_url: Option<String>,
pub destination: Option<String>,
pub setup: Option<Shell>,
pub setup_stdout: Option<Shell>,
pub setup_clear: bool,
pub completions: Option<Shell>,
pub shallow_clone: bool,
pub worktree: Option<String>,
pub inline_picker: bool,
pub inline_height: Option<u16>,
pub show_disk: bool,
pub hide_disk: bool,
pub show_preview: bool,
pub hide_preview: bool,
pub show_legend: bool,
pub hide_legend: bool,
pub show_right_panel: bool,
pub hide_right_panel: bool,
}Fields§
§name_or_url: Option<String>Create or jump to an experiment / Clone a git URL. Starts TUI if omitted
destination: Option<String>Destination folder name when cloning a repository
setup: Option<Shell>Generate shell integration code for the specified shell
setup_stdout: Option<Shell>Print shell integration code to stdout (for use with tools like Nix home-manager)
setup_clear: boolRemove shell integration for all installed shells
completions: Option<Shell>Generate shell completion script for tab completion of directory names
shallow_clone: boolUse shallow clone (–depth 1) when cloning repositories
worktree: Option<String>Create a git worktree from current repository (must be inside a git repo)
inline_picker: boolRender the picker inline (non-fullscreen), useful for shell key bindings
inline_height: Option<u16>Inline picker height in terminal rows (default: 18)
show_disk: boolShow the disk information panel in the TUI
hide_disk: boolHide the disk information panel in the TUI
show_preview: boolShow the preview panel in the TUI
hide_preview: boolHide the preview panel in the TUI
show_legend: boolShow the icon legend panel in the TUI
hide_legend: boolHide the icon legend panel in the TUI
show_right_panel: boolShow the right panel in the TUI
hide_right_panel: boolHide the right panel in the TUI
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§
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
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