gusage 1.0.3 → 1.0.5

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.
Files changed (2) hide show
  1. package/README.md +4 -4
  2. package/package.json +11 -2
package/README.md CHANGED
@@ -47,17 +47,17 @@ gusage --watch
47
47
  gusage --watch 1m20s
48
48
 
49
49
  # Output raw JSON for scripting
50
- gusage -o json
50
+ gusage --json | jq .
51
51
 
52
- # Disable colors
53
- gusage --no-color
52
+ # Stream JSON updates every 5 seconds (one line per tick)
53
+ gusage --json --watch 5s | jq .
54
54
  ```
55
55
 
56
56
  ## Options
57
57
 
58
58
  - `-h, --help`: Show help message.
59
59
  - `-w, --watch [interval]`: Update live every interval (default: 10s). Supports units like `20s`, `5m`, `1m20s`.
60
- - `-o, --output-format <fmt>`: Set output format to `table` (default) or `json`.
60
+ - `-j, --json`: Output raw JSON instead of a table. Can be combined with `--watch` for streaming data.
61
61
  - `--no-color`: Disable color output (also respects `NO_COLOR` env var).
62
62
 
63
63
  ## Requirements
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gusage",
3
- "version": "1.0.3",
3
+ "version": "1.0.5",
4
4
  "description": "A standalone CLI to export Gemini CLI quota and usage statistics",
5
5
  "module": "index.ts",
6
6
  "type": "module",
@@ -32,5 +32,14 @@
32
32
  },
33
33
  "peerDependencies": {
34
34
  "typescript": "^5"
35
- }
35
+ },
36
+ "keywords": [
37
+ "gemini-cli",
38
+ "gemini",
39
+ "google-gemini",
40
+ "quota",
41
+ "usage",
42
+ "stats",
43
+ "monitoring"
44
+ ]
36
45
  }