diff --git a/FlowPlugins/CommunityFlowPlugins/tools/runCli/1.0.0/index.js b/FlowPlugins/CommunityFlowPlugins/tools/runCli/1.0.0/index.js index fbb5a5b..d0b4156 100644 --- a/FlowPlugins/CommunityFlowPlugins/tools/runCli/1.0.0/index.js +++ b/FlowPlugins/CommunityFlowPlugins/tools/runCli/1.0.0/index.js @@ -133,6 +133,11 @@ var details = function () { return ({ defaultValue: 'true', inputUI: { type: 'switch', + onSelect: { + false: { + outputFileBecomesWorkingFile: 'false', + }, + }, }, tooltip: 'Toggle this on if the command creates an output file.', }, diff --git a/FlowPluginsTs/CommunityFlowPlugins/tools/runCli/1.0.0/index.ts b/FlowPluginsTs/CommunityFlowPlugins/tools/runCli/1.0.0/index.ts index cd2e051..e8ae61a 100644 --- a/FlowPluginsTs/CommunityFlowPlugins/tools/runCli/1.0.0/index.ts +++ b/FlowPluginsTs/CommunityFlowPlugins/tools/runCli/1.0.0/index.ts @@ -91,6 +91,11 @@ const details = (): IpluginDetails => ({ defaultValue: 'true', inputUI: { type: 'switch', + onSelect: { + false: { + outputFileBecomesWorkingFile: 'false', + }, + }, }, tooltip: 'Toggle this on if the command creates an output file.', @@ -199,6 +204,7 @@ const plugin = async (args: IpluginInputArgs): Promise => { const { outputFileBecomesWorkingFile, } = args.inputs; + let userOutputFilePath = String(args.inputs.userOutputFilePath); let cliArguments = String(args.inputs.cliArguments);