mirror of
https://github.com/serverless/serverless.git
synced 2026-01-25 15:07:39 +00:00
fix(CLI): Recognize --aws-profile option by schema
This commit is contained in:
parent
0f30125189
commit
014ff949b7
@ -5,6 +5,9 @@ module.exports = {
|
||||
usage: 'Region of the service',
|
||||
shortcut: 'r',
|
||||
},
|
||||
'aws-profile': {
|
||||
usage: 'AWS profile to use with the command',
|
||||
},
|
||||
'app': { usage: 'Dashboard app' },
|
||||
'org': { usage: 'Dashboard org' },
|
||||
'use-local-credentials': {
|
||||
|
||||
@ -49,6 +49,7 @@ describe('test/unit/lib/cli/filter-supported-options.test.js', () => {
|
||||
)
|
||||
).to.deep.equal({
|
||||
'region': 'elo',
|
||||
'aws-profile': null,
|
||||
'help': null,
|
||||
'version': null,
|
||||
'config': null,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user