import * as plugins from './plugins.js'; import * as paths from './paths.js'; import { Tspm, IProcessConfig } from './classes.tspm.js'; export const run = async () => { const tspmProjectinfo = new plugins.projectinfo.ProjectInfo(paths.packageDir); const tspm = new Tspm(); const smartcliInstance = new plugins.smartcli.Smartcli(); smartcliInstance.addVersion(tspmProjectinfo.npm.version); // Default command - show help and list processes smartcliInstance.standardCommand().subscribe({ next: async (argvArg) => { console.log(`TSPM - TypeScript Process Manager v${tspmProjectinfo.npm.version}`); console.log('Usage: tspm [command] [options]'); console.log('\nCommands:'); console.log(' start