File tree 2 files changed +7
-5
lines changed
2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -10,8 +10,10 @@ This CLI tool reads a JSON file and produces BigQuery compatible SQL views from
10
10
## Usage
11
11
12
12
``` bash
13
- npx @nealwp/blobview [options] < filepath>
13
+ npx @nealwp/blobview@latest [options] < filepath>
14
+ ```
14
15
16
+ ``` text
15
17
Arguments:
16
18
filepath path to valid JSON file
17
19
@@ -24,14 +26,14 @@ Options:
24
26
## Examples:
25
27
Default output to STDOUT:
26
28
``` bash
27
- npx @nealwp/blobview@latest ./path/to/file.json
29
+ npx @nealwp/blobview ./path/to/file.json
28
30
```
29
31
30
32
Dataset and table as input options:
31
33
``` bash
32
- npx @nealwp/blobview@latest --dataset=myDataset --table=myTable ./path/to/file.json
34
+ npx @nealwp/blobview --dataset=myDataset --table=myTable ./path/to/file.json
33
35
# shorthand options
34
- npx @nealwp/blobview@latest -d myDataset -t myTable ./path/to/file.json
36
+ npx @nealwp/blobview -d myDataset -t myTable ./path/to/file.json
35
37
```
36
38
37
39
Redirect output to file:
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @nealwp/blobview" ,
3
- "version" : " 0.1 .0" ,
3
+ "version" : " 0.2 .0" ,
4
4
"description" : " Generate BigQuery SQL views from JSON" ,
5
5
"bin" : {
6
6
"@nealwp/blobview" : " ./index.js"
You can’t perform that action at this time.
0 commit comments