@plastichub/osr-mail
Version:
This is a CLI(CommandLineInterface) toolset to convert media files
14 lines (11 loc) • 330 B
text/typescript
import { defaults } from './_cli'; defaults()
import * as CLI from 'yargs'
//import { register as registerTest } from './commands/test'; registerTest(CLI)
const argv: any = CLI.argv
if (argv.h || argv.help) {
CLI.showHelp();
process.exit();
} else if (argv.v || argv.version) {
process.exit();
}