UNPKG
mashr
Version:
latest (1.0.7)
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
Simple data pipeline framework for GCP's BigQuery
github.com/mashr-gcp/mashr
mashr-gcp/mashr
mashr
/
src
/
commands
/
init.js
11 lines
(7 loc)
•
231 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
const
os = require(
'os'
);
const
{ catchSetupAndConfig } = require(
'../utils'
);
const
homedir = os.homedir(); module.exports =
async
(
args
) => {
const
template =
args
.template;
await
catchSetupAndConfig(homedir, template); };