nupst/ts/index.ts
2025-03-25 09:06:23 +00:00

19 lines
379 B
JavaScript

#!/usr/bin/env node
import { NupstCli } from './cli.js';
/**
* Main entry point for NUPST
* Initializes the CLI and executes the given command
*/
async function main() {
const cli = new NupstCli();
await cli.parseAndExecute(process.argv);
}
// Run the main function and handle any errors
main().catch(error => {
console.error('Error:', error);
process.exit(1);
});