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 local: bool,
pub spaced: bool,
pub not_spaced: bool,
pub custom_box: Option<String>,
pub graph_only: bool,
pub width: Option<usize>,
pub height: Option<usize>,
pub text: Option<String>,
pub shape: Option<Vec<String>>,
pub graph_timeline: bool,
pub no_date: bool,
pub no_achievements: bool,
pub no_languages: bool,
pub no_issues: bool,
pub no_pr: bool,
pub no_account: bool,
pub no_grid: 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 and check for updates
change_provider: boolChange the configured git provider
local: boolFetch data specific to current local repo (requires .git folder)
spaced: boolEnable spaced layout
not_spaced: boolDisable spaced layout
custom_box: Option<String>Custom character for contribution blocks (e.g., ‘■’, ‘█’)
graph_only: boolShow only the contribution graph
width: Option<usize>Set custom width for contribution graph
height: Option<usize>Set custom height for contribution graph
text: Option<String>Display text as contribution graph pattern (simulation only)
shape: Option<Vec<String>>Display one or more predefined shapes as contribution graph (simulation only). Provide multiple shapes: –shape kitty,kitty
graph_timeline: boolShow git timeline graph instead of contribution graph
no_date: boolHide month/date labels on 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 section
no_grid: boolHide contribution grid/graph
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.