Skip to content

Commit

Permalink
feat: Add types to CLI options schema
Browse files Browse the repository at this point in the history
  • Loading branch information
pgrzesik committed May 4, 2021
1 parent 9afa70e commit 3bf6f7f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,19 @@ class ServerlessSafeguardPlugin {
usage: 'Specify the org if you do not have an org set in serverless.yml',
shortcut: 'o',
required: false,
type: 'string',
},
app: {
usage: 'Specify the app if you do not have an app set in the serverless.yml',
shortcut: 'a',
required: false,
type: 'string',
},
service: {
usage: 'Specify the service if you do not have a service set in the serverless.yml',
shortcut: 's',
required: false,
type: 'string',
},
},
},
Expand All @@ -50,6 +53,7 @@ class ServerlessSafeguardPlugin {
usage:
'specify a policy file to use when validating, in addition to any defined in the serverless.yaml',
required: false,
type: 'string',
},
},
},
Expand Down

0 comments on commit 3bf6f7f

Please sign in to comment.