mirror of
https://github.com/theoludwig/html-w3c-validator.git
synced 2024-07-20 07:30:11 +02:00
14 lines
398 B
TypeScript
14 lines
398 B
TypeScript
import { Builtins, Cli } from 'clipanion'
|
|
|
|
import { HTMLValidatorCommand } from './HTMLValidatorCommand.js'
|
|
import { packageJSON } from './packageJSON.js'
|
|
|
|
export const cli = new Cli({
|
|
binaryLabel: packageJSON.name,
|
|
binaryName: packageJSON.name,
|
|
binaryVersion: packageJSON.version
|
|
})
|
|
cli.register(Builtins.HelpCommand)
|
|
cli.register(Builtins.VersionCommand)
|
|
cli.register(HTMLValidatorCommand)
|