1
1
mirror of https://github.com/theoludwig/programming-challenges.git synced 2024-07-18 02:20:12 +02:00
programming-challenges/cli/index.ts

12 lines
228 B
TypeScript
Raw Normal View History

#!/usr/bin/env node
import { Cli } from 'clipanion'
import { cli } from './cli'
const [, , ...args] = process.argv
cli.runExit(args, Cli.defaultContext).catch(() => {
console.error('Error occurred...')
process.exit(1)
})