reactive_graph_client/client/instances/flows/
commands.rs1use crate::client::instances::flows::args::create_from_type::CreateFlowInstanceFromTypeArgs;
2use crate::client::instances::flows::args::id::IdArgs;
3use crate::client::instances::flows::args::label::LabelArgs;
4use crate::client::instances::flows::args::search::SearchFlowInstancesArgs;
5use clap::Subcommand;
6
7#[derive(Subcommand, Debug, Clone)]
8pub(crate) enum FlowInstancesCommands {
9 #[non_exhaustive]
11 List(SearchFlowInstancesArgs),
12 #[non_exhaustive]
14 Get(IdArgs),
15 #[non_exhaustive]
17 GetByLabel(LabelArgs),
18
19 #[non_exhaustive]
26 CreateFromType(CreateFlowInstanceFromTypeArgs),
27
28 #[non_exhaustive]
40 Delete(IdArgs),
41 #[non_exhaustive]
43 JsonSchema,
44}