'use strict';

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = init;

var _scope;

function _load_scope() {
  return _scope = require('../../../scope');
}

function init() {
  var path = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : process.cwd();
  var name = arguments[1];
  var groupName = arguments[2];

  return (_scope || _load_scope()).Scope.ensure(path, name, groupName).then(function (scope) {
    return scope.ensureDir();
  });
}