pub struct CreateRustGithubRepo { /* private fields */ }
Implementations§
source§impl CreateRustGithubRepo
impl CreateRustGithubRepo
pub fn name(self, value: impl Into<String>) -> Self
pub fn dir(self, value: impl Into<Option<PathBuf>>) -> Self
pub fn workspace(self, value: impl Into<Option<PathBuf>>) -> Self
pub fn shell_cmd(self, value: impl Into<OsString>) -> Self
pub fn shell_args(self, value: impl Into<Vec<OsString>>) -> Self
pub fn copy_configs_from(self, value: impl Into<Option<PathBuf>>) -> Self
sourcepub fn configs(self, value: impl Into<Vec<String>>) -> Self
pub fn configs(self, value: impl Into<Vec<String>>) -> Self
Config paths separated by comma (relative to copy_configs_from
) (only applies if copy_configs_from
is specified) (supports files and directories)
pub fn repo_exists_cmd(self, value: impl Into<String>) -> Self
pub fn repo_create_cmd(self, value: impl Into<String>) -> Self
pub fn repo_clone_cmd(self, value: impl Into<String>) -> Self
pub fn project_init_cmd(self, value: impl Into<String>) -> Self
pub fn project_test_cmd(self, value: impl Into<String>) -> Self
pub fn repo_add_args(self, value: impl Into<String>) -> Self
pub fn repo_commit_args(self, value: impl Into<String>) -> Self
pub fn repo_push_args(self, value: impl Into<String>) -> Self
sourcepub fn support_link_probability(self, value: impl Into<u64>) -> Self
pub fn support_link_probability(self, value: impl Into<u64>) -> Self
The probability of seeing a support link in a single execution of the command is 1 / {{this-field-value}}
.
Set it to 0 to disable the support link.
Trait Implementations§
source§impl Args for CreateRustGithubRepo
impl Args for CreateRustGithubRepo
source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
source§impl Debug for CreateRustGithubRepo
impl Debug for CreateRustGithubRepo
source§impl Default for CreateRustGithubRepo
impl Default for CreateRustGithubRepo
source§fn default() -> CreateRustGithubRepo
fn default() -> CreateRustGithubRepo
Returns the “default value” for a type. Read more
source§impl FromArgMatches for CreateRustGithubRepo
impl FromArgMatches for CreateRustGithubRepo
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 CreateRustGithubRepo
impl Parser for CreateRustGithubRepo
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)
Update from iterator, exit on error.
Auto Trait Implementations§
impl Freeze for CreateRustGithubRepo
impl RefUnwindSafe for CreateRustGithubRepo
impl Send for CreateRustGithubRepo
impl Sync for CreateRustGithubRepo
impl Unpin for CreateRustGithubRepo
impl UnwindSafe for CreateRustGithubRepo
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