wpilog-parser 2.2.0 → 2.3.0

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 CHANGED
@@ -4,7 +4,7 @@ Read [WPILib data log (`.wpilog`)](https://docs.wpilib.org/en/stable/docs/softwa
4
4
 
5
5
  ## Install
6
6
 
7
- ```bash
7
+ ```sh
8
8
  npm install wpilog-parser
9
9
  ```
10
10
 
@@ -21,23 +21,37 @@ for (const record of decodeRecords(readRecords(bytes))) {
21
21
  }
22
22
  ```
23
23
 
24
+ ## CLI
25
+
26
+ List every entry available in a log before writing an analysis script:
27
+
28
+ ```sh
29
+ npx wpilog-parser catalog ./example.wpilog
30
+ ```
31
+
32
+ The default output is [TOON](https://toonformat.dev). JSON, JSONL/NDJSON, and CSV are also supported:
33
+
34
+ ```sh
35
+ npx wpilog-parser catalog ./example.wpilog --json
36
+ ```
37
+
24
38
  ## Agent skill
25
39
 
26
- This package ships an [Agent Skill](https://agentskills.io) at `skills/wpilog-parser/SKILL.md` that teaches AI coding agents how to use the library. Install it into your project with either:
40
+ This package ships an [Agent Skill](https://agentskills.io) at `skills/analyze-wpilog/SKILL.md` that teaches AI coding agents how to use the library. Install it into your project with either:
27
41
 
28
- ```bash
42
+ ```sh
29
43
  # https://skills.sh/
30
44
  npx skills add jonahsnider/wpilog-parser
31
45
  ```
32
46
 
33
- ```bash
47
+ ```sh
34
48
  # https://github.com/antfu/skills-npm
35
49
  npx skills-npm
36
50
  ```
37
51
 
38
52
  ## Development
39
53
 
40
- ```bash
54
+ ```sh
41
55
  vp install
42
56
  vp test
43
57
  vp pack