pub enum WorkflowAuthoringCommand {
Compile {
input: PathBuf,
output: Option<PathBuf>,
},
Format {
input: PathBuf,
output: Option<PathBuf>,
},
Preview {
input: PathBuf,
},
Diff {
before: PathBuf,
after: PathBuf,
},
Record {
input: Option<PathBuf>,
output: Option<PathBuf>,
},
Validate {
input: PathBuf,
},
Lint {
input: PathBuf,
warnings_as_errors: bool,
},
Templates {
name: Option<String>,
output: Option<PathBuf>,
},
Init {
name: String,
output: Option<PathBuf>,
},
}Variants§
Compile
Compile YAML or JSON source into canonical workflow JSON.
Format
Format a YAML or JSON workflow as deterministic YAML.
Preview
Show a redacted browser-free execution preview.
Diff
Compare two workflow sources and print migration guidance.
Record
Import explicit semantic evidence into a reviewable draft.
Validate
Validate authoring source against the canonical workflow contract.
Lint
Run static workflow diagnostics without starting a browser.
Templates
List or initialize one of the reviewable workflow starter templates.
Fields
Init
Initialize one of the five reviewable issue 29 starter templates.
Trait Implementations§
Source§impl Debug for WorkflowAuthoringCommand
impl Debug for WorkflowAuthoringCommand
Source§impl FromArgMatches for WorkflowAuthoringCommand
impl FromArgMatches for WorkflowAuthoringCommand
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 Subcommand for WorkflowAuthoringCommand
impl Subcommand for WorkflowAuthoringCommand
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 Freeze for WorkflowAuthoringCommand
impl RefUnwindSafe for WorkflowAuthoringCommand
impl Send for WorkflowAuthoringCommand
impl Sync for WorkflowAuthoringCommand
impl Unpin for WorkflowAuthoringCommand
impl UnsafeUnpin for WorkflowAuthoringCommand
impl UnwindSafe for WorkflowAuthoringCommand
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more