From b9c3c3f3566637868fcb74402c2f7cec5f97ccf1 Mon Sep 17 00:00:00 2001 From: Jwaegebaert <38426621+Jwaegebaert@users.noreply.github.com> Date: Fri, 24 Nov 2023 16:46:34 +0100 Subject: [PATCH] Adds missing force flag to flow run cancel command --- docs/docs/cmd/flow/run/run-cancel.mdx | 3 +++ src/m365/flow/commands/run/run-cancel.ts | 1 + 2 files changed, 4 insertions(+) diff --git a/docs/docs/cmd/flow/run/run-cancel.mdx b/docs/docs/cmd/flow/run/run-cancel.mdx index 6e7f34b3247..515865d7dae 100644 --- a/docs/docs/cmd/flow/run/run-cancel.mdx +++ b/docs/docs/cmd/flow/run/run-cancel.mdx @@ -21,6 +21,9 @@ m365 flow run cancel [options] `-e, --environmentName ` : The name of the environment where the flow is located + +`-f, --force` +: Don't prompt for confirmation ``` diff --git a/src/m365/flow/commands/run/run-cancel.ts b/src/m365/flow/commands/run/run-cancel.ts index 13dca75a0d1..b443d29c950 100644 --- a/src/m365/flow/commands/run/run-cancel.ts +++ b/src/m365/flow/commands/run/run-cancel.ts @@ -15,6 +15,7 @@ interface Options extends GlobalOptions { environmentName: string; flowName: string; name: string; + force?: boolean; } class FlowRunCancelCommand extends AzmgmtCommand {