mirror of
https://github.com/danbulant/bpm
synced 2026-06-24 17:12:02 +00:00
Start working on running scripts
This commit is contained in:
parent
cb34fb473b
commit
8c9157ad7c
2 changed files with 8 additions and 2 deletions
6
index.js
6
index.js
|
|
@ -42,6 +42,10 @@ switch(args.contents[0]){
|
|||
args.contents.splice(0,1);
|
||||
pkg.install(args.flags, args.contents);
|
||||
break;
|
||||
case "run":
|
||||
case "run-script":
|
||||
pkg.run(args);
|
||||
break;
|
||||
case "ls":
|
||||
case "help":
|
||||
case "adduser":
|
||||
|
|
@ -74,8 +78,6 @@ switch(args.contents[0]){
|
|||
case "repo":
|
||||
case "restart":
|
||||
case "root":
|
||||
case "run":
|
||||
case "run-script":
|
||||
case "search":
|
||||
case "shrinkwrap":
|
||||
case "star":
|
||||
|
|
|
|||
|
|
@ -107,4 +107,8 @@ module.exports = class Package {
|
|||
parser.install((flags.dev | false));
|
||||
parser.saveChanges();
|
||||
}
|
||||
|
||||
run(args){
|
||||
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue