mirror of
https://github.com/serverless/serverless.git
synced 2026-01-18 14:58:43 +00:00
18 lines
407 B
JavaScript
18 lines
407 B
JavaScript
'use strict';
|
|
|
|
const steps = {
|
|
service: require('./service'),
|
|
awsCredentials: require('./aws-credentials'),
|
|
autoUpdate: require('./auto-update'),
|
|
tabCompletion: require('./tab-completion'),
|
|
};
|
|
|
|
module.exports = async (context) => {
|
|
for (const step of Object.values(steps)) {
|
|
if (await step.isApplicable(context)) {
|
|
process.stdout.write('\n');
|
|
await step.run(context);
|
|
}
|
|
}
|
|
};
|