#! /usr/bin/env node // NO DSL /* Firestack (c) 2020, License: MIT */ import { Command } from 'commander'; import { DSL, DslCli } from './src'; import { dslVersion } from '.'; DSL.compilerVersion = dslVersion; const program = new Command() .name('dsl') .description(`DSL transform utility CLI v${dslVersion}`) .version(dslVersion); DslCli.loadCommand(program, 'run'); DslCli.loadCommand(program, 'test'); DslCli.loadCommand(program, 'transform'); DslCli.loadCommand(program, 'revert'); DslCli.loadCommand(program, 'recompile'); DslCli.loadCommand(program, 'clean'); DslCli.loadCommand(program, 'show-codecoverage'); program.parse();