pub struct Cli {Show 22 fields
pub username: Option<String>,
pub no_cache: bool,
pub clear_cache: bool,
pub version: bool,
pub change_provider: bool,
pub custom_box: Option<String>,
pub no_date: bool,
pub graph_only: bool,
pub spaced: bool,
pub not_spaced: bool,
pub width: Option<usize>,
pub height: Option<usize>,
pub no_achievements: bool,
pub no_languages: bool,
pub no_issues: bool,
pub no_pr: bool,
pub no_account: bool,
pub no_grid: bool,
pub text: Option<String>,
pub shape: Option<Vec<String>>,
pub graph_timeline: bool,
pub local: bool,
}Fields§
§username: Option<String>Username to fetch stats for
no_cache: boolBypass cache and fetch fresh data
clear_cache: boolClear the cache and exit
version: boolShow version information
change_provider: boolChange the configured git provider
custom_box: Option<String>Custom character for contribution blocks
no_date: boolHide month/date labels
graph_only: boolShow only the contribution graph
spaced: boolEnable spaced layout
not_spaced: boolDisable spaced layout
width: Option<usize>Custom width for contribution graph
height: Option<usize>Custom height for contribution graph
no_achievements: boolHide achievements section
no_languages: boolHide languages section
no_issues: boolHide issues section
no_pr: boolHide pull requests section
no_account: boolHide account information
no_grid: boolHide contribution grid/graph
text: Option<String>Simulate contribution graph with text (A-Z and space only)
shape: Option<Vec<String>>Simulate contribution graph with predefined shapes
graph_timeline: boolShow git timeline graph instead of contribution graph
local: boolAnalyze local git repository (requires .git folder)
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
Append to
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>
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 Cli
impl Parser for Cli
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)
Auto Trait Implementations§
impl Freeze for Cli
impl RefUnwindSafe for Cli
impl Send for Cli
impl Sync for Cli
impl Unpin 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
Mutably borrows from an owned value. Read more