Enum xvc_pipeline::PipelineSubCommand 
source · pub enum PipelineSubCommand {
    New {
        name: String,
        workdir: Option<PathBuf>,
    },
    Update {
        name: Option<String>,
        rename: Option<String>,
        workdir: Option<PathBuf>,
        set_default: bool,
    },
    Delete {
        name: String,
    },
    Run {
        name: Option<String>,
    },
    List,
    Dag {
        name: Option<String>,
        file: Option<PathBuf>,
        format: XvcPipelineDagFormat,
    },
    Export {
        name: Option<String>,
        file: Option<PathBuf>,
        format: Option<XvcSchemaSerializationFormat>,
    },
    Import {
        name: Option<String>,
        file: Option<PathBuf>,
        format: Option<XvcSchemaSerializationFormat>,
        overwrite: bool,
    },
    Step(StepCLI),
}Expand description
Pipeline management subcommands
Variants§
New
Fields
Create a new pipeline
Update
Fields
Rename, change dir or set a pipeline as default
Delete
Delete a pipeline
Run
Run a pipeline
List
List all pipelines
Dag
Fields
§
format: XvcPipelineDagFormatFormat for graph. Either dot or mermaid.
Generate a dot or mermaid diagram for the pipeline
Export
Fields
Export the pipeline to a YAML or JSON file to edit
Import
Fields
Import the pipeline from a file
Step(StepCLI)
Step creation, dependency, output commands
Trait Implementations§
source§impl Clone for PipelineSubCommand
 
impl Clone for PipelineSubCommand
source§fn clone(&self) -> PipelineSubCommand
 
fn clone(&self) -> PipelineSubCommand
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moresource§impl CommandFactory for PipelineSubCommand
 
impl CommandFactory for PipelineSubCommand
source§impl Debug for PipelineSubCommand
 
impl Debug for PipelineSubCommand
source§impl FromArgMatches for PipelineSubCommand
 
impl FromArgMatches for PipelineSubCommand
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 Parser for PipelineSubCommand
 
impl Parser for PipelineSubCommand
§fn parse_from<I, T>(itr: I) -> Self
 
fn parse_from<I, T>(itr: I) -> Self
Parse from iterator, exit on error
§fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
 
fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
Parse from iterator, return Err on error.
§fn update_from<I, T>(&mut self, itr: I)
 
fn update_from<I, T>(&mut self, itr: I)
Update from iterator, exit on error
§fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error>
 
fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error>
Update from iterator, return Err on error.
source§impl Subcommand for PipelineSubCommand
 
impl Subcommand for PipelineSubCommand
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
source§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 RefUnwindSafe for PipelineSubCommand
impl Send for PipelineSubCommand
impl Sync for PipelineSubCommand
impl Unpin for PipelineSubCommand
impl UnwindSafe for PipelineSubCommand
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