feat(ts_node): Add support for HTTPS certificate creation

This commit is contained in:
2024-09-18 00:41:14 +02:00
parent 4358e1d64d
commit 61c493ce72
6 changed files with 69 additions and 22 deletions

View File

@ -1,21 +1 @@
import * as plugins from './plugins.js';
class TapNodeTools {
private smartshellInstance: plugins.smartshell.Smartshell;
constructor() {
}
public async runCommand(commandArg) {
if (!this.smartshellInstance) {
this.smartshellInstance = new plugins.smartshell.Smartshell({
executor: 'bash',
});
}
const result = await this.smartshellInstance.exec(commandArg);
return result;
}
}
export const tapNodeTools = new TapNodeTools();
export * from './classes.tapnodetools.js';