peakurl 1.0.3 → 1.1.1
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 +72 -28
- package/bin/peakurl.js +1464 -503
- package/man/peakurl.1 +48 -0
- package/package.json +14 -5
package/man/peakurl.1
CHANGED
|
@@ -195,6 +195,54 @@ List supported webhook event identifiers.
|
|
|
195
195
|
.Bd -literal -offset indent
|
|
196
196
|
peakurl webhook events
|
|
197
197
|
.Ed
|
|
198
|
+
.It Cm job list
|
|
199
|
+
List all registered scheduled jobs.
|
|
200
|
+
.Bd -literal -offset indent
|
|
201
|
+
peakurl job list
|
|
202
|
+
peakurl job list --json
|
|
203
|
+
.Ed
|
|
204
|
+
.It Cm job get Ar id
|
|
205
|
+
Fetch one scheduled job by ID.
|
|
206
|
+
.Bd -literal -offset indent
|
|
207
|
+
peakurl job get peakurl_version_check
|
|
208
|
+
.Ed
|
|
209
|
+
.It Cm job run Ar id
|
|
210
|
+
Force a specific scheduled job to run immediately.
|
|
211
|
+
.Bd -literal -offset indent
|
|
212
|
+
peakurl job run peakurl_version_check
|
|
213
|
+
.Ed
|
|
214
|
+
.It Cm job run-due
|
|
215
|
+
Trigger all scheduled jobs that are currently due.
|
|
216
|
+
.Bd -literal -offset indent
|
|
217
|
+
peakurl job run-due
|
|
218
|
+
.Ed
|
|
219
|
+
.It Cm job history Ar id
|
|
220
|
+
View recent execution history for a scheduled job.
|
|
221
|
+
.Bd -literal -offset indent
|
|
222
|
+
peakurl job history peakurl_version_check
|
|
223
|
+
.Ed
|
|
224
|
+
.It Cm job clear-history
|
|
225
|
+
Clear execution history for all jobs or a specific job.
|
|
226
|
+
.Bd -literal -offset indent
|
|
227
|
+
peakurl job clear-history
|
|
228
|
+
peakurl job clear-history --job peakurl_version_check
|
|
229
|
+
.Ed
|
|
230
|
+
.It Cm job schedule Ar id
|
|
231
|
+
Update the schedule configuration for a job.
|
|
232
|
+
.Bd -literal -offset indent
|
|
233
|
+
peakurl job schedule peakurl_version_check --interval 43200 --preferred-time 03:00 --enabled
|
|
234
|
+
.Ed
|
|
235
|
+
.It Cm job reset Ar id
|
|
236
|
+
Reset a job's schedule to its default configuration.
|
|
237
|
+
.Bd -literal -offset indent
|
|
238
|
+
peakurl job reset peakurl_version_check
|
|
239
|
+
.Ed
|
|
240
|
+
.It Cm job settings
|
|
241
|
+
View or update global scheduler settings.
|
|
242
|
+
.Bd -literal -offset indent
|
|
243
|
+
peakurl job settings
|
|
244
|
+
peakurl job settings --retention-days 14
|
|
245
|
+
.Ed
|
|
198
246
|
.It Cm update
|
|
199
247
|
Check for a newer CLI version and print the npm install command when an
|
|
200
248
|
update is available.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "peakurl",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"description": "Official CLI for creating, listing, and managing PeakURL short links from the terminal",
|
|
5
5
|
"homepage": "https://peakurl.org",
|
|
6
6
|
"bugs": {
|
|
@@ -39,6 +39,9 @@
|
|
|
39
39
|
"dev": "tsx src/index.ts",
|
|
40
40
|
"format": "prettier --write .",
|
|
41
41
|
"format:check": "prettier --check .",
|
|
42
|
+
"lint": "eslint . --cache",
|
|
43
|
+
"lint:fix": "eslint . --cache --fix",
|
|
44
|
+
"check": "npm run format:check && npm run lint && npm run typecheck",
|
|
42
45
|
"test": "npm run build && tsx --test test/*.test.ts",
|
|
43
46
|
"typecheck": "tsc --noEmit",
|
|
44
47
|
"prepare": "npm run build"
|
|
@@ -51,11 +54,17 @@
|
|
|
51
54
|
"env-paths": "^4.0.0"
|
|
52
55
|
},
|
|
53
56
|
"devDependencies": {
|
|
54
|
-
"@
|
|
55
|
-
"
|
|
57
|
+
"@eslint/js": "^10.0.1",
|
|
58
|
+
"@types/node": "^26.6.2",
|
|
59
|
+
"eslint": "^10.11.0",
|
|
60
|
+
"eslint-config-prettier": "^10.1.8",
|
|
61
|
+
"eslint-plugin-prettier": "^5.5.6",
|
|
62
|
+
"globals": "^17.12.0",
|
|
63
|
+
"prettier": "^3.9.8",
|
|
56
64
|
"tsup": "^8.5.1",
|
|
57
|
-
"tsx": "^4.23.
|
|
58
|
-
"typescript": "^
|
|
65
|
+
"tsx": "^4.23.15",
|
|
66
|
+
"typescript": "^5.9.3",
|
|
67
|
+
"typescript-eslint": "^8.70.1"
|
|
59
68
|
},
|
|
60
69
|
"license": "MIT"
|
|
61
70
|
}
|