fix(core): update

This commit is contained in:
2022-10-12 17:21:03 +02:00
parent 9e55126adf
commit 142667ac87
10 changed files with 955 additions and 2997 deletions

View File

@ -4,11 +4,11 @@ console.log(textToPost);
const run = async () => {
const smartcli = await import('@pushrocks/smartcli');
const smartcliInstance = new smartcli.Smartcli();
console.log(process.argv)
smartcliInstance.addCommand('sayhello').subscribe(async argvArg => {
console.log(process.argv);
smartcliInstance.addCommand('sayhello').subscribe(async (argvArg) => {
console.log('hello there');
})
});
smartcliInstance.startParse();
}
};
run();
run();