mirror of
https://github.com/serverless/serverless.git
synced 2026-01-18 14:58:43 +00:00
27 lines
511 B
JavaScript
27 lines
511 B
JavaScript
'use strict';
|
|
|
|
class Setup {
|
|
constructor(serverless, options) {
|
|
this.serverless = serverless;
|
|
this.options = options;
|
|
|
|
this.commands = {
|
|
setup: {
|
|
usage: 'Sets up a new provider profile for the Serverless Framework',
|
|
lifecycleEvents: [
|
|
'setup',
|
|
],
|
|
options: {
|
|
provider: {
|
|
usage: 'Name of the provider',
|
|
required: true,
|
|
shortcut: 'p',
|
|
},
|
|
},
|
|
},
|
|
};
|
|
}
|
|
}
|
|
|
|
module.exports = Setup;
|