mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-27 19:00:55 +00:00
feat: add the seed contracts
This commit is contained in:
@@ -18,7 +18,13 @@ async function main() {
|
||||
|
||||
try {
|
||||
registerCommands(vorpal, { app });
|
||||
vorpal.parse(process.argv);
|
||||
|
||||
const args = process.argv.slice(2);
|
||||
if (args.length > 0) {
|
||||
await vorpal.exec(args.join(" "));
|
||||
} else {
|
||||
vorpal.parse(process.argv);
|
||||
}
|
||||
} finally {
|
||||
await app.close();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user