This commit is contained in:
rkiel
2019-07-18 16:09:29 -04:00
parent 308d62fc86
commit 2443a88ad7
4 changed files with 48 additions and 42 deletions

View File

@@ -20,11 +20,25 @@ function prefix() {
return process.env.FEATURE_USER || process.env.USER;
}
function toPromise(dp) {
return Promise.resolve(dp);
}
function echo(dp) {
console.log(JSON.stringify(dp));
return dp;
}
function start() {
return toPromise(parse());
}
lib = {
args,
parse,
featureName,
prefix
prefix,
start
};
module.exports = lib;