ymmv-cli 0.4.0 → 0.6.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.
Files changed (3) hide show
  1. package/README.md +34 -12
  2. package/dist/cli.js +781 -310
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -2,34 +2,56 @@
2
2
 
3
3
  **Share your dev tool-stack from the terminal.**
4
4
 
5
- Editor, OS, shell, terminal, browser, font (and more) published to a clean
6
- page at `ymmv.fyi/<handle>` in about 10 seconds.
5
+ Editor, OS, shell, terminal, theme, AI tool (and more), published to a
6
+ clean page at `ymmv.fyi/<handle>` in about 10 seconds. See a live one:
7
+ [ymmv.fyi/bardisty](https://ymmv.fyi/bardisty).
8
+
9
+ ![Running npx ymmv-cli to detect, confirm, and publish a dev stack to a live ymmv.fyi page](https://raw.githubusercontent.com/ymmv-fyi/ymmv/main/docs/demo.gif)
7
10
 
8
11
  ```sh
9
12
  npx ymmv-cli # detect your stack, confirm, go live at ymmv.fyi/<you>
10
13
  npx ymmv-cli bardisty # view someone's stack in the terminal
11
14
  ```
12
15
 
16
+ Viewing someone while you're logged in diffs their stack against yours:
17
+
18
+ ```
19
+ how bardisty differs from you
20
+
21
+ BARDISTY YOU
22
+ ~ Editor Zed VS Code
23
+ = Shell bash bash
24
+ ~ Theme Gruvbox Catppuccin
25
+ ~ Font Lilex JetBrains Mono
26
+
27
+ 3 differ 1 shared
28
+ ```
29
+
13
30
  Install once for the short `ymmv` command:
14
31
 
15
32
  ```sh
16
33
  npm i -g ymmv-cli
17
34
  ```
18
35
 
19
- First run includes a one-time GitHub sign-in (the device flow you know from `gh`
20
- / `npm login`, ~10s).
36
+ First run includes a one-time GitHub sign-in. Works on macOS, Linux, Windows,
37
+ and WSL. Nothing is published until you confirm (detection only pre-fills), and
38
+ `ymmv delete` removes everything. Releases are published from GitHub Actions
39
+ via npm Trusted Publishing, with provenance.
21
40
 
22
41
  ## Commands
23
42
 
24
- - `ymmv` — detect, confirm, and publish (re-run any time to update)
25
- - `ymmv <handle>` view a profile, or diff it against yours when you're logged in
26
- - `ymmv set editor Neovim` change one value
27
- - `ymmv set --extra "Keyboard=HHKB"` add a free-form line of your own
28
- - `ymmv unset editor` remove one value (`ymmv set editor -` works too); `ymmv unset --extra "Keyboard"` removes an extra
29
- - `ymmv delete` remove your profile
30
- - `ymmv login` / `ymmv logout` sign in / out
43
+ - `ymmv` detects, confirms, and publishes (re-run any time to update)
44
+ - `ymmv <handle>` views a profile, or diffs it against yours when you're logged in
45
+ - `ymmv set editor Neovim` changes one value
46
+ - `ymmv set --extra "Keyboard=HHKB"` adds a free-form line of your own
47
+ - `ymmv unset editor` removes one value (`ymmv set editor -` works too); `ymmv unset --extra "Keyboard"` removes an extra
48
+ - `ymmv delete` removes your profile
49
+ - `ymmv login` / `ymmv logout` sign in / out
50
+
51
+ Every profile is open JSON too: `GET https://ymmv.fyi/api/v1/u/<handle>`.
31
52
 
32
- Every profile is open JSON too `GET https://ymmv.fyi/api/v1/u/<handle>`.
53
+ Color output respects `NO_COLOR`; set `YMMV_API` to point the CLI at a different Worker
54
+ (development).
33
55
 
34
56
  ## License
35
57