Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export default (config) => {
const deps = new Bottle();
Bottle.config.strict = true;
deps.constant('config', config);
deps.service('cli.log', () => log);
deps.service('api', api, 'config', 'aws.ecs', 'aws.ecr');
deps.service('aws.ecs', awsEcs, 'config');
deps.service('aws.ecr', awsEcr, 'config');
deps.service('aws.ec2', awsEc2, 'config');
/**
* @param {string} name
* @param {cli.command} instance
* @param {Array.} extraServices
* @returns {string}
*/