zen-gitsync 2.1.9 → 2.1.11

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.
@@ -303,7 +303,15 @@ Options:
303
303
  addResetScript Add "g:reset": "git reset --hard origin/<current-branch>" to package.json scripts
304
304
  ui Launch graphical user interface (v2.0.0)
305
305
 
306
+ --cmd="your-cmd" Execute custom cmd command (immediately, at a time, or periodically)
307
+ --cmd-interval=<seconds> Execute custom cmd every N seconds
308
+ --at="HH:MM" Execute custom cmd at a specific time (today) or --at="YYYY-MM-DD HH:MM:SS"
309
+
306
310
  Example:
311
+ g --cmd="echo hello" --cmd-interval=5 # 每5秒执行一次echo hello
312
+ g --cmd="echo at-time" --at=23:59 # 在23:59执行一次echo at-time
313
+ g --cmd="echo now" # 立即执行一次echo now
314
+ g --cmd="echo hi" --cmd-interval=10 --interval=60 # cmd和git自动提交并行
307
315
  g -m "Initial commit" Commit with a custom message
308
316
  g -m=Fix-bug Commit with a custom message (no spaces around '=')
309
317
  g -y Auto commit with the default message