Skip to content

Commit

Permalink
fix(cli): add validation for platform flag (#3227)
Browse files Browse the repository at this point in the history
  • Loading branch information
bernardobridge authored Jun 24, 2024
1 parent 630bbeb commit 2f56d8c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/artillery/lib/cmds/run.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@ RunCommand.flags = {
}),
platform: Flags.string({
description: 'Runtime platform',
default: 'local'
default: 'local',
options: ['local', 'aws:lambda']
}),
'platform-opt': Flags.string({
description:
Expand Down

0 comments on commit 2f56d8c

Please sign in to comment.