Skip to content

Commit

Permalink
bump version and update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
nealwp committed Aug 28, 2023
1 parent 784bf52 commit 714804a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ This CLI tool reads a JSON file and produces BigQuery compatible SQL views from
## Usage

```bash
npx @nealwp/blobview [options] <filepath>
npx @nealwp/blobview@latest [options] <filepath>
```

```text
Arguments:
filepath path to valid JSON file
Expand All @@ -24,14 +26,14 @@ Options:
## Examples:
Default output to STDOUT:
```bash
npx @nealwp/blobview@latest ./path/to/file.json
npx @nealwp/blobview ./path/to/file.json
```

Dataset and table as input options:
```bash
npx @nealwp/blobview@latest --dataset=myDataset --table=myTable ./path/to/file.json
npx @nealwp/blobview --dataset=myDataset --table=myTable ./path/to/file.json
# shorthand options
npx @nealwp/blobview@latest -d myDataset -t myTable ./path/to/file.json
npx @nealwp/blobview -d myDataset -t myTable ./path/to/file.json
```

Redirect output to file:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nealwp/blobview",
"version": "0.1.0",
"version": "0.2.0",
"description": "Generate BigQuery SQL views from JSON",
"bin": {
"@nealwp/blobview": "./index.js"
Expand Down

0 comments on commit 714804a

Please sign in to comment.