@ghfs/cli 0.2.1 → 0.2.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 +27 -0
- package/dist/cli.mjs +468 -45
- package/dist/{factory-UMSInaa_.mjs → factory-p7K86ig1.mjs} +145 -2
- package/dist/index.d.mts +66 -0
- package/dist/index.mjs +1 -1
- package/dist/ui/200.html +1 -1
- package/dist/ui/404.html +1 -1
- package/dist/ui/_nuxt/B0TbUr4-.js +1 -0
- package/dist/ui/_nuxt/B22m6lGO.js +1 -0
- package/dist/ui/_nuxt/B285sO4n.js +1 -0
- package/dist/ui/_nuxt/BKeWYFwB.js +1 -0
- package/dist/ui/_nuxt/C3qHPz2x.js +11 -0
- package/dist/ui/_nuxt/{C8o6ovMK.js → COKSWHV2.js} +1 -1
- package/dist/ui/_nuxt/CZG_sboh.js +1 -0
- package/dist/ui/_nuxt/CxFuatvT.js +64 -0
- package/dist/ui/_nuxt/D6OOFWTr.js +1 -0
- package/dist/ui/_nuxt/{BqmRGtwl.js → D8shZTBd.js} +1 -1
- package/dist/ui/_nuxt/{1bK2R2pL.js → DNX9zRCQ.js} +1 -1
- package/dist/ui/_nuxt/DXu5T2B5.js +15 -0
- package/dist/ui/_nuxt/{BKH9P1wN.js → EicHfoe9.js} +1 -1
- package/dist/ui/_nuxt/MnK0Tdwj.js +8 -0
- package/dist/ui/_nuxt/Project.ua0Af7kd.css +1 -0
- package/dist/ui/_nuxt/TcANp6PW.js +1 -0
- package/dist/ui/_nuxt/{DK734mxh.js → _TxKSTp6.js} +1 -1
- package/dist/ui/_nuxt/brA7auAl.js +1 -0
- package/dist/ui/_nuxt/builds/latest.json +1 -1
- package/dist/ui/_nuxt/builds/meta/d40c8be2-bdb7-4195-9ef3-a2f26238eb3f.json +1 -0
- package/dist/ui/_nuxt/cards.BNaTRoqd.css +1 -0
- package/dist/ui/_nuxt/entry.oX7K7W6S.css +1 -0
- package/dist/ui/_nuxt/error-404.CYxKGMun.css +1 -0
- package/dist/ui/_nuxt/error-500.DhFBNa35.css +1 -0
- package/dist/ui/_nuxt/f8zICjba.js +1 -0
- package/dist/ui/_nuxt/{index.C3E0NnSu.css → index.CQ-q3McJ.css} +1 -1
- package/dist/ui/cards/index.html +1 -1
- package/dist/ui/hub/index.html +1 -1
- package/dist/ui/hub/recent/index.html +1 -1
- package/dist/ui/index.html +1 -1
- package/dist/ui/recent/index.html +1 -1
- package/dist/ui/todo/index.html +1 -1
- package/package.json +6 -6
- package/dist/ui/_nuxt/BNh5okZH.js +0 -4
- package/dist/ui/_nuxt/BNzF7F9w.js +0 -1
- package/dist/ui/_nuxt/BWLewmBT.js +0 -15
- package/dist/ui/_nuxt/BbwaKnwL.js +0 -1
- package/dist/ui/_nuxt/CBU7sHLx.js +0 -1
- package/dist/ui/_nuxt/CQja-oog.js +0 -1
- package/dist/ui/_nuxt/D4R7-XZQ.js +0 -1
- package/dist/ui/_nuxt/D4yIuA0F.js +0 -64
- package/dist/ui/_nuxt/DHH7xZXJ.js +0 -11
- package/dist/ui/_nuxt/DVC3GhaL.js +0 -1
- package/dist/ui/_nuxt/DWBdeKmR.js +0 -1
- package/dist/ui/_nuxt/Da-Y9lY6.js +0 -1
- package/dist/ui/_nuxt/DeX2bcSG.js +0 -1
- package/dist/ui/_nuxt/Project.BMA756E4.css +0 -1
- package/dist/ui/_nuxt/builds/meta/f935488c-a544-4bf6-9a65-b421d02508c1.json +0 -1
- package/dist/ui/_nuxt/cards.DYf8w2uL.css +0 -1
- package/dist/ui/_nuxt/entry.COcGUqGv.css +0 -1
- package/dist/ui/_nuxt/error-404.CiGdHkfa.css +0 -1
- package/dist/ui/_nuxt/error-500.DrZuPeVU.css +0 -1
package/README.md
CHANGED
|
@@ -76,6 +76,33 @@ Features:
|
|
|
76
76
|
|
|
77
77
|
Flags mirror `ghfs ui` (`--port`, `--host`, `--cwd`, `--no-open`).
|
|
78
78
|
|
|
79
|
+
## Saved replies
|
|
80
|
+
|
|
81
|
+
Insert canned replies into the comment composer with one click — or press <kbd>⌘</kbd> <kbd>.</kbd> (<kbd>Ctrl</kbd> <kbd>.</kbd> on Linux/Windows) when the composer is focused. Replies come from two scopes, surfaced in a single picker with a per-item indicator:
|
|
82
|
+
|
|
83
|
+
- **This repo** — `.github/replies.yml` in the repository. ghfs supports the [`refined-saved-replies`](https://github.com/JoshuaKGoldberg/refined-saved-replies) convention, so the same file works in the refined-saved-replies browser extension and any other tool that adopts it. Commit the file so the whole team shares them.
|
|
84
|
+
- **Global** — per-user replies stored in `~/.config/ghfs/hub.json`.
|
|
85
|
+
|
|
86
|
+
Edit either set from the **Settings** dialog (<kbd>,</kbd>) under the **Saved replies** tab. Bodies support a small set of placeholders, replaced at insertion time against the issue/PR being viewed:
|
|
87
|
+
|
|
88
|
+
| Placeholder | Resolves to |
|
|
89
|
+
| -------------- | ------------------------------------ |
|
|
90
|
+
| `{{author}}` | `@<login>` of the item's author |
|
|
91
|
+
| `{{number}}` | The issue / PR number |
|
|
92
|
+
| `{{title}}` | The item's title |
|
|
93
|
+
|
|
94
|
+
Example `.github/replies.yml`:
|
|
95
|
+
|
|
96
|
+
```yaml
|
|
97
|
+
- title: Thanks
|
|
98
|
+
body: |
|
|
99
|
+
Thanks for the report, {{author}}! We'll take a look at #{{number}}.
|
|
100
|
+
- title: Needs reproduction
|
|
101
|
+
body: Could you share a minimal reproduction?
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
> GitHub's own user "saved replies" (at github.com/settings/replies) have no public REST API, so ghfs can't sync them — global templates are managed entirely through ghfs.
|
|
105
|
+
|
|
79
106
|
## Execute operations
|
|
80
107
|
|
|
81
108
|
`ghfs` also allows you to take actions on the issues and pull requests in batch.
|