1
0
mirror of https://github.com/theoludwig/programming-challenges.git synced 2025-12-11 00:21:24 +01:00

feat: rewrite programming-challenges CLI (#3)

This commit is contained in:
Divlo
2021-06-09 20:31:45 +02:00
committed by GitHub
parent 7aa12f313e
commit 677a55a9d8
256 changed files with 16829 additions and 1881 deletions

11
cli/index.ts Normal file
View File

@@ -0,0 +1,11 @@
#!/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)
})