mirror of
https://github.com/theoludwig/programming-challenges.git
synced 2024-11-09 22:08:58 +01:00
17 lines
558 B
TypeScript
17 lines
558 B
TypeScript
import { Builtins, Cli } from 'clipanion'
|
|
|
|
import { GenerateChallengeCommand } from './commands/generate/challenge'
|
|
import { GenerateSolutionCommand } from './commands/generate/solution'
|
|
import { RunTestCommand } from './commands/run/test'
|
|
|
|
export const cli = new Cli({
|
|
binaryLabel: 'programming-challenges',
|
|
binaryName: 'programming-challenges',
|
|
binaryVersion: '1.0.0'
|
|
})
|
|
cli.register(Builtins.HelpCommand)
|
|
cli.register(Builtins.VersionCommand)
|
|
cli.register(GenerateChallengeCommand)
|
|
cli.register(GenerateSolutionCommand)
|
|
cli.register(RunTestCommand)
|