18 lines
403 B
TypeScript
18 lines
403 B
TypeScript
import './nullresolve.logging.js';
|
|
import { NullResolve } from './nullresolve.classes.nullresolve.js';
|
|
export { NullResolve };
|
|
|
|
let mainNullResolve: NullResolve;
|
|
|
|
export const runCli = async () => {
|
|
mainNullResolve = new NullResolve();
|
|
await mainNullResolve.start();
|
|
};
|
|
|
|
export const stop = async () => {
|
|
if (mainNullResolve) {
|
|
await mainNullResolve.stop();
|
|
mainNullResolve = null;
|
|
}
|
|
};
|