gh-postplan 0.1.1 → 0.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gh-postplan",
3
- "version": "0.1.1",
3
+ "version": "0.3.0",
4
4
  "description": "Publish versioned HTML drafts to GitHub Pages",
5
5
  "type": "module",
6
6
  "bin": {
@@ -30,5 +30,8 @@
30
30
  "@types/bun": "latest",
31
31
  "@types/node": "latest",
32
32
  "typescript": "latest"
33
+ },
34
+ "dependencies": {
35
+ "@inquirer/checkbox": "^5.2.3"
33
36
  }
34
37
  }
@@ -67,3 +67,12 @@ npx gh-postplan setup OWNER/REPO --create
67
67
  ```
68
68
 
69
69
  All published drafts are public. Configuration and local draft mappings live in `~/.config/gh-postplan`.
70
+
71
+ List or interactively delete published drafts with:
72
+
73
+ ```sh
74
+ npx gh-postplan list
75
+ npx gh-postplan delete
76
+ ```
77
+
78
+ The list is read from the local cache and shows each HTML title. In the delete prompt, use the arrow keys to move, Space to select drafts, and Enter to confirm. Deleting a draft also deletes all of its permanent versions.