Skip to content

Commit

Permalink
Fix default database target
Browse files Browse the repository at this point in the history
  • Loading branch information
qiksar committed Nov 23, 2022
1 parent 8709acb commit b2453a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "@qiksar/crudio",
"version": "0.24.0",
"version": "0.25.0",
"description": "Rapidly create rich meaningful test data to accelerate your prototyping and testing processes",
"bin": "dist/cjs/crudio_cli.js",
"main": "dist/cjs/crudio_cli.js",
Expand Down
2 changes: 1 addition & 1 deletion src/CrudioCLI.ts
Expand Up @@ -60,7 +60,7 @@ export default class CrudioCLI {
.option("-i, --include <include_file>", "Merge an additional data model definition")
.option("-d, --diagram <output_file>", "Output a Mermaid diagram of the data model")
.option("-c, --dbconnection <uri>", "Database connection string for Mongoose", "mongodb://localhost")
.option("-t, --target <dbtype>", "m=MongoDB, p=postgres", "p://localhost")
.option("-t, --target <dbtype>", "m=MongoDB, p=postgres", "p")

this.config = this.command_line.parse(args).opts() as ICrudioConfig;
this.config.version = package_version;
Expand Down

0 comments on commit b2453a0

Please sign in to comment.