pub enum WebdevCommand {
Deploy {
project: String,
with_script_exec: bool,
rotate_secret: bool,
with_testing: bool,
with_tag_delete: bool,
tag_delete_repo: Vec<PathBuf>,
tag_delete_user_source: Option<String>,
tag_delete_role: Option<String>,
rotate_tag_delete_secret: bool,
},
Status {
project: String,
},
}Variants§
Deploy
Deploy the embedded route bundle into the dedicated project (overwrite-replace — the CLI owns that project wholesale)
Fields
with_script_exec: boolAlso deploy the secret-gated scriptExec route (a fresh secret is generated and stored at 0600 when none exists)
rotate_secret: boolGenerate a FRESH scriptExec secret before deploying (any route deployed with the old secret starts refusing)
with_testing: boolAlso deploy the embedded TESTING bundle — the Jython test framework (testing.runner & co., with the permanent testing.tests smoke sentinel) and the testing/run + testing/tags WebDev routes
with_tag_delete: boolAlso deploy the authenticated tagDelete route (rig-only in this release): Basic of a user of –tag-delete-user-source holding –tag-delete-role, plus a generated secret stored at 0600; the provider allowlist is the repo’s deploy/project.yaml tag_providers. A deploy without this flag removes the route
tag_delete_repo: Vec<PathBuf>The project repo whose deploy/project.yaml names the providers the route may delete in (relative to the working directory). Repeat it to allow every repo’s providers: the allowlist is the union, and an install that would drop a provider the live route allows is refused
Status
Probe every route’s version handshake — a READ: exit 0 whenever the sweep completes, per-route degradation is data
Trait Implementations§
Source§impl Debug for WebdevCommand
impl Debug for WebdevCommand
Source§impl FromArgMatches for WebdevCommand
impl FromArgMatches for WebdevCommand
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<'b>(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§impl Subcommand for WebdevCommand
impl Subcommand for WebdevCommand
Source§fn augment_subcommands<'b>(__clap_app: Command) -> Command
fn augment_subcommands<'b>(__clap_app: Command) -> Command
Source§fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§fn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Self can parse a specific subcommand