feat(precheck): now includes a precheck for more generic runner execution

This commit is contained in:
2022-10-24 21:23:14 +02:00
parent ad0e12bf7b
commit 93c7af6c91
5 changed files with 35 additions and 5 deletions

View File

@@ -79,15 +79,16 @@ export class NpmciCli {
}
);
this.smartcli.addCommand('precheck').subscribe(async (argvArg) => {
const modPrecheck = await import('./mod_precheck/index.js');
await modPrecheck.handleCli(this.npmciRef, argvArg);
})
// trigger
this.smartcli.addCommand('ssh').subscribe(
async (argvArg) => {
const modSsh = await import('./mod_ssh/index.js');
await modSsh.handleCli(argvArg);
},
(err) => {
console.log(err);
process.exit(1);
}
);