-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disable the test-data-generation portion of the CLI since the feature…
… is broken (#1173) * Disable the generate-test-data command as it appears broken * Update the node-elm-compiler dependency
- Loading branch information
1 parent
230fb61
commit a321930
Showing
3 changed files
with
33 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,31 @@ | ||
#!/usr/bin/env node | ||
// NPM imports | ||
import path from 'path' | ||
import {Command} from 'commander' | ||
import path from "path"; | ||
import { Command } from "commander"; | ||
|
||
// Read the package.json of this package | ||
const packageJson = require(path.join(__dirname, '../../package.json')) | ||
const packageJson = require(path.join(__dirname, "../../package.json")); | ||
|
||
// Set up Commander | ||
const program = new Command() | ||
const program = new Command(); | ||
program | ||
.version(packageJson.version, '-v, --version') | ||
.command('make', 'Translate Elm sources to Morphir IR') | ||
.command('scala-gen', 'Generate scala code from Morphir IR') | ||
.command('json-schema-gen', 'Generate Json Schema from the Morphir IR') | ||
.command('snowpark-gen','Generate Scala with Snowpark code from Morphir IR') | ||
.command('stats', 'Collect morphir features used in a model into a document') | ||
.command('dockerize', 'Creates a docker image of a Morphir IR and Morphir Develop') | ||
.command('test-coverage', 'Generates report on number of branches in a Morphir value and TestCases covered') | ||
.command('generate-test-data', 'Creates a docker image of a Morphir IR and Morphir Develop') | ||
.command('init', 'Launches an interactive session to initialize a new morphir project.') | ||
.parse(process.argv) | ||
.version(packageJson.version, "-v, --version") | ||
.command("make", "Translate Elm sources to Morphir IR") | ||
.command("scala-gen", "Generate scala code from Morphir IR") | ||
.command("json-schema-gen", "Generate Json Schema from the Morphir IR") | ||
.command("snowpark-gen", "Generate Scala with Snowpark code from Morphir IR") | ||
.command("stats", "Collect morphir features used in a model into a document") | ||
.command( | ||
"dockerize", | ||
"Creates a docker image of a Morphir IR and Morphir Develop" | ||
) | ||
.command( | ||
"test-coverage", | ||
"Generates report on number of branches in a Morphir value and TestCases covered" | ||
) | ||
//.command('generate-test-data', 'Creates a docker image of a Morphir IR and Morphir Develop') | ||
.command( | ||
"init", | ||
"Launches an interactive session to initialize a new morphir project." | ||
) | ||
.parse(process.argv); |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters