lib/fn/get.js
function get(path) {
  var option = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};

  var config = assignConfig_1.default(option, path);
  return globElements_1.default(config).then(readElements_1.default(config)).then(optimize_1.default());
}
function get(path) {
  var option = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};

  var config = assignConfig_1.default(option, path);
  return globElements_1.default(config).then(readElements_1.default(config)).then(optimize_1.default());
}
function get ( path ) { var option = arguments . length > 1 && arguments [ 1 ] !== undefined ? arguments [ 1 ] : { } ; var config = assignConfig_1 . default ( option , path ) ; return globElements_1 . default ( config ) . then ( readElements_1 . default ( config ) ) . then ( optimize_1 . default ( ) ) ; }
Create guide data from elements

@param path Paths of element files that glob pattern
@param option Optional configure
@return guide data object
Create guide data from elements