pub enum Commands {
Run {
target: TargetArg,
render: RenderArg,
release: bool,
package: Option<String>,
watch: bool,
port: u16,
plan: bool,
},
Dev {
target: DevTargetArg,
render: RenderArg,
release: bool,
path: Option<PathBuf>,
out: Option<PathBuf>,
package: Option<String>,
server: ServerBindArgs,
ota: bool,
plan: bool,
},
Docs {
action: Option<DocsAction>,
build: DocsBuildArgs,
watch: bool,
server: ServerBindArgs,
},
Build {
target: TargetArg,
render: RenderArg,
release: bool,
plan: bool,
},
Check {
all_targets: bool,
target: TargetArg,
package: Option<String>,
plan: bool,
},
Fmt {
check: bool,
path: Option<PathBuf>,
macros_only: bool,
},
Doctor {
json: bool,
},
New {
name: String,
path: Option<PathBuf>,
},
}Expand description
Top-level euv CLI subcommands.
Variants§
Run
Runs an euv application for a target platform and render mode, with optional --watch hot reload.
Fields
Dev
Starts the hot-reload and Dynamic WASM OTA development server for Web, Native, or Docs.
Fields
target: DevTargetArgDevelopment pipeline target (web, native, or docs).
server: ServerBindArgsShared dev server bind, poll interval, and smoke-run flags.
Docs
Builds or live-serves a static documentation site from all .md files in a project.
Fields
action: Option<DocsAction>Optional build or dev subcommand (defaults to building all project .md files).
build: DocsBuildArgsShared source, output, title, and base URL flags.
server: ServerBindArgsShared dev server bind, poll interval, and smoke-run flags when --watch is active.
Build
Builds native or Web bundles for one or all seven targets.
Fields
Check
Checks Rust compilation across one or all seven cross-platform targets.
Fields
Fmt
Runs unified crate-cli text/Rust formatting first, then normalizes indentation inside all euv macro blocks (view!, style!, etc.).
Fields
Doctor
Inspects installed Rust targets, SDKs, and cross-platform tooling readiness.
New
Scaffolds a new cross-platform euv native project.
Trait Implementations§
impl Eq for Commands
Source§impl FromArgMatches for Commands
impl FromArgMatches for Commands
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.impl StructuralPartialEq for Commands
Source§impl Subcommand for Commands
impl Subcommand for Commands
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 subcommandAuto Trait Implementations§
impl Forget for Commands
impl Freeze for Commands
impl Move for Commands
impl RefUnwindSafe for Commands
impl Send for Commands
impl Sync for Commands
impl Unpin for Commands
impl UnsafeUnpin for Commands
impl UnwindSafe for Commands
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.