MCPcopy Create free account
hub / github.com/cargo-lambda/cargo-lambda / run

Method run

crates/cargo-lambda-cli/src/main.rs:119–135  ·  view source on GitHub ↗
(
        self,
        color: &str,
        global: Option<PathBuf>,
        context: Option<String>,
        admerge: bool,
    )

Source from the content-addressed store, hash-verified

117
118impl LambdaSubcommand {
119 async fn run(
120 self,
121 color: &str,
122 global: Option<PathBuf>,
123 context: Option<String>,
124 admerge: bool,
125 ) -> Result<()> {
126 match self {
127 Self::Build(b) => Self::run_build(b, global, context, admerge).await,
128 Self::Deploy(d) => Self::run_deploy(d, global, context, admerge).await,
129 Self::Init(mut i) => i.run().await,
130 Self::Invoke(i) => i.run().await,
131 Self::New(mut n) => n.run().await,
132 Self::System(s) => Self::run_system(s, global, context, admerge).await,
133 Self::Watch(w) => Self::run_watch(w, color, global, context, admerge).await,
134 }
135 }
136
137 async fn run_build(
138 build: Build,

Callers 1

run_subcommandFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected