pub struct DeployArgs {
pub target: Option<String>,
pub build: bool,
pub dry_run: bool,
pub preview: bool,
pub base_url: Option<String>,
pub setup: bool,
pub domain: Option<String>,
pub verify: bool,
pub skip_checks: bool,
pub no_commit: bool,
}Fields§
§target: Option<String>Deploy target override (github-pages, cloudflare, netlify)
build: boolBuild before deploying
dry_run: boolShow what would be done without actually deploying
preview: boolDeploy to a preview/staging URL instead of production
base_url: Option<String>Override base_url for this deploy (e.g., https://example.com)
setup: boolRun guided deploy setup: create project, configure CI, set domain
domain: Option<String>Set up a custom domain for deployment
verify: boolVerify deployment after it completes
skip_checks: boolSkip pre-flight checks
no_commit: boolSkip auto-commit and push (overrides deploy.auto_commit)
Trait Implementations§
Source§impl Args for DeployArgs
impl Args for DeployArgs
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 FromArgMatches for DeployArgs
impl FromArgMatches for DeployArgs
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 DeployArgs
impl RefUnwindSafe for DeployArgs
impl Send for DeployArgs
impl Sync for DeployArgs
impl Unpin for DeployArgs
impl UnsafeUnpin for DeployArgs
impl UnwindSafe for DeployArgs
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