pub struct BrowseCommand {
pub repo: Option<String>,
pub branch: Option<String>,
pub commit: Option<String>,
pub projects: bool,
pub wiki: bool,
pub settings: bool,
pub issue: Option<u64>,
pub pr: Option<u64>,
pub hostname: Option<String>,
}Expand description
Arguments for gor browse.
Fields§
§repo: Option<String>Repository (OWNER/REPO format). Auto-detected from git remote if omitted.
branch: Option<String>Open a specific branch or tree.
commit: Option<String>Open a specific commit.
projects: boolOpen the projects tab.
wiki: boolOpen the wiki.
settings: boolOpen the settings page.
issue: Option<u64>Open a specific issue by number.
pr: Option<u64>Open a specific pull request by number.
hostname: Option<String>GitHub hostname for GitHub Enterprise Server (default: github.com).
Trait Implementations§
Source§impl Args for BrowseCommand
impl Args for BrowseCommand
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 Debug for BrowseCommand
impl Debug for BrowseCommand
Source§impl FromArgMatches for BrowseCommand
impl FromArgMatches for BrowseCommand
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.Auto Trait Implementations§
impl Freeze for BrowseCommand
impl RefUnwindSafe for BrowseCommand
impl Send for BrowseCommand
impl Sync for BrowseCommand
impl Unpin for BrowseCommand
impl UnsafeUnpin for BrowseCommand
impl UnwindSafe for BrowseCommand
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