pub struct ConfigureArgs {
pub provider: Option<String>,
pub provider_flag: Option<String>,
pub remote_url: Option<String>,
pub workspace_id: Option<String>,
pub reset: bool,
pub initial_commit: bool,
pub no_initial_commit: bool,
pub cmd: Option<ConfigureCmd>,
}Fields§
§provider: Option<String>Provider type: local, portals-cloud, or remote. Positional for ergonomics;
omit to show current config (or use px configure status).
provider_flag: Option<String>Provider type flag (alternative to positional PROVIDER).
remote_url: Option<String>Remote URL (required for remote). Aliases: –endpoint, –remote_url.
workspace_id: Option<String>Workspace ID (for remote and portals-cloud).
reset: boolReset provider configuration before (re)configuring.
initial_commit: boolBootstrap existing unversioned repositories with an initial commit without prompting.
no_initial_commit: boolSkip bootstrapping existing repositories.
cmd: Option<ConfigureCmd>Trait Implementations§
Source§impl Args for ConfigureArgs
impl Args for ConfigureArgs
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 ConfigureArgs
impl CommandFactory for ConfigureArgs
Source§impl Debug for ConfigureArgs
impl Debug for ConfigureArgs
Source§impl FromArgMatches for ConfigureArgs
impl FromArgMatches for ConfigureArgs
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 ConfigureArgs
impl Parser for ConfigureArgs
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 ConfigureArgs
impl RefUnwindSafe for ConfigureArgs
impl Send for ConfigureArgs
impl Sync for ConfigureArgs
impl Unpin for ConfigureArgs
impl UnsafeUnpin for ConfigureArgs
impl UnwindSafe for ConfigureArgs
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