pub enum DocsAction {
Build {
build: DocsBuildArgs,
},
Dev {
build: DocsBuildArgs,
server: ServerBindArgs,
},
}Expand description
Subcommands under euv docs for building or live-serving project Markdown documentation.
Variants§
Build
Builds all Markdown files under a project or docs directory into a static site.
Fields
§
build: DocsBuildArgsShared source, output, title, and base URL flags.
Dev
Builds and serves Markdown documentation with live file-watching and SSE hot reload.
Fields
§
build: DocsBuildArgsShared source, output, title, and base URL flags.
§
server: ServerBindArgsShared dev server bind, poll interval, and smoke-run flags.
Trait Implementations§
Source§impl Clone for DocsAction
impl Clone for DocsAction
Source§impl Debug for DocsAction
impl Debug for DocsAction
impl Eq for DocsAction
Source§impl FromArgMatches for DocsAction
impl FromArgMatches for DocsAction
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<'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>
Assign values from
ArgMatches to self.Source§impl PartialEq for DocsAction
impl PartialEq for DocsAction
impl StructuralPartialEq for DocsAction
Source§impl Subcommand for DocsAction
impl Subcommand for DocsAction
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
Append to
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
Test whether
Self can parse a specific subcommandAuto Trait Implementations§
impl Forget for DocsAction
impl Freeze for DocsAction
impl Move for DocsAction
impl RefUnwindSafe for DocsAction
impl Send for DocsActionwhere
RawVecInner: Send,
impl Sync for DocsActionwhere
RawVecInner: Sync,
impl Unpin for DocsAction
impl UnsafeUnpin for DocsAction
impl UnwindSafe for DocsActionwhere
RawVecInner: UnwindSafe,
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
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
Compare self to
key and return true if they are equal.