Skip to content

Commit

Permalink
Correct cli arg handling, really though.
Browse files Browse the repository at this point in the history
  • Loading branch information
scharris committed May 19, 2021
1 parent 5317595 commit a60769d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sqljson-query",
"version": "1.0.10",
"version": "1.0.11",
"description": "Command line tool to generate SQL/JSON queries and Typescript types for query results.",
"keywords": [
"SQL",
Expand Down
5 changes: 4 additions & 1 deletion src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,10 @@ async function main(): Promise<void>
}
}

const {querySpecs, dbmd, srcOutputDir, sqlOutputDir} = parsedArgs;
const dbmd = parsedArgs['dbmd'];
const querySpecs = parsedArgs['query-specs'];
const srcOutputDir = parsedArgs['src-output-dir'];
const sqlOutputDir = parsedArgs['sql-output-dir'];

try
{
Expand Down

0 comments on commit a60769d

Please sign in to comment.