mirror of
https://github.com/theoludwig/programming-challenges.git
synced 2024-11-09 22:08:58 +01:00
12 lines
243 B
JavaScript
12 lines
243 B
JavaScript
#!/usr/bin/env node
|
|
import { Cli } from 'clipanion'
|
|
|
|
import { cli } from './cli.js'
|
|
|
|
const [, , ...arguments_] = process.argv
|
|
|
|
cli.runExit(arguments_, Cli.defaultContext).catch(() => {
|
|
console.error('Error occurred...')
|
|
process.exit(1)
|
|
})
|