bqcost 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[](https://www.npmjs.com/package/bqcost)
|
|
4
4
|
[](https://github.com/dagryazev/bqcost/actions/workflows/ci.yml)
|
|
5
|
+
[](https://www.npmjs.com/package/bqcost#provenance)
|
|
5
6
|
[](LICENSE)
|
|
6
7
|
[](https://www.npmjs.com/package/bqcost)
|
|
7
8
|
|
|
@@ -20,6 +21,16 @@ comments the number on the PR — before you merge.
|
|
|
20
21
|
|
|
21
22
|
---
|
|
22
23
|
|
|
24
|
+
## Install
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
npm i -g bqcost # global CLI
|
|
28
|
+
# …or run without installing: npx bqcost lint ./models
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
Published with [npm provenance](https://docs.npmjs.com/generating-provenance-statements) — every
|
|
32
|
+
release is built and signed by GitHub Actions (the ✓ on the npm page).
|
|
33
|
+
|
|
23
34
|
## Quickstart (≈30 seconds)
|
|
24
35
|
|
|
25
36
|
```bash
|
|
@@ -27,7 +38,7 @@ comments the number on the PR — before you merge.
|
|
|
27
38
|
gcloud auth application-default login
|
|
28
39
|
|
|
29
40
|
# lint a file or a directory of .sql
|
|
30
|
-
npx bqcost lint ./models
|
|
41
|
+
bqcost lint ./models # or: npx bqcost lint ./models
|
|
31
42
|
```
|
|
32
43
|
|
|
33
44
|
```text
|