diff --git a/src/commands/action/cmd-action.ts b/src/commands/action/cmd-action.ts index b8e7db161..99144dce3 100644 --- a/src/commands/action/cmd-action.ts +++ b/src/commands/action/cmd-action.ts @@ -28,9 +28,9 @@ const config: CliCommandConfig = { description: 'After marker' } }, - help: (parentName, { commandName, flags }) => ` + help: (command, { flags }) => ` Usage - $ ${parentName} ${commandName} [options] + $ ${command} [options] Options ${getFlagListOutput(flags, 6)} @@ -58,5 +58,7 @@ async function run( const githubEventBefore = String(cli.flags['githubEventBefore'] || '') const githubEventAfter = String(cli.flags['githubEventAfter'] || '') + if (cli.flags['dryRun']) return console.log('[DryRun] Bailing now') + await runAction(githubEventBefore, githubEventAfter) } diff --git a/src/commands/analytics/cmd-analytics.ts b/src/commands/analytics/cmd-analytics.ts index b993bfb31..586baa5d8 100644 --- a/src/commands/analytics/cmd-analytics.ts +++ b/src/commands/analytics/cmd-analytics.ts @@ -42,9 +42,9 @@ const config: CliCommandConfig = { description: 'Path to a local file to save the output' } }, - help: (parentName, { commandName, flags }) => ` + help: (command, { flags }) => ` Usage - $ ${parentName} ${commandName} --scope= --time=