gdx 0.4.2 → 0.4.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.
Files changed (3) hide show
  1. package/README.md +40 -22
  2. package/dist/index.js +553 -536
  3. package/package.json +3 -2
package/README.md CHANGED
@@ -237,28 +237,46 @@ Tools to help you feel productive without leaving the terminal.
237
237
 
238
238
  ## Command Reference
239
239
 
240
- | Command | Expansion / Function |
241
- | :---------------- | :----------------------------------------------------------------- |
242
- | `s`, `stat` | `git status` (use `-r` recursively run "status" on all submodules) |
243
- | `lg`, `lo` | `git log --oneline --graph --all --decorate` |
244
- | `sw`, `swit` | `git switch` |
245
- | `br`, `bra` | `git branch` |
246
- | `cmi`, `com` | `git commit` (Try `gdx cmi auto` for AI messages!) |
247
- | `res` | `git reset` (supports `res ~3`, `res -h` expansion) |
248
- | `dif` | `git diff` (supports `dif ~3`, `dif origin ~2` expansion) |
249
- | `sho` | `git show` (supports `sho ~3`, `sho origin ~2` expansion) |
250
- | `sta`, `st` | `git stash` |
251
- | `lint` | Run pre-push checks (spelling, secrets, etc.) |
252
- | `gdx-config` | Manage gdx configuration |
253
- | `reword`, `rew` | Rewrite commit messages |
254
- | `parallel`, `par` | Manage parallel worktrees for the current branch |
255
- | `stats` | Show contribution statistics and metrics for the current repo |
256
- | `graph` | Render a GitHub-style contribution heatmap in the terminal |
257
- | `nocap` | Roast your latest commit message with AI |
258
- | `clear` | Wipe changes in the working directory with a backup patch |
259
- | `cache` | Manage gdx cache |
260
-
261
- _Run `gdx ghelp` to see the full list of expansions._
240
+ ### Expansions & Custom Commands
241
+
242
+ | Command | Expansion / Function |
243
+ | :---------------- | :------------------------------------------------------------------------------------------- |
244
+ | `s`, `stat` | `git status` (use `-r` recursively run "status" on all submodules) |
245
+ | `lg`, `lo` | `git log --oneline --graph --all --decorate` |
246
+ | `sw`, `swit` | `git switch` |
247
+ | `br`, `bra` | `git branch` |
248
+ | `ps` | `git push` with option expansion `-fl`=`--force-with-lease` |
249
+ | `pu`, `pl` | `git pull` |
250
+ | `sub` | `git submodule` |
251
+ | `sta` | `git stash` |
252
+ | `cmi`, `com` | `git commit` (Try `gdx cmi auto` for AI messages!) |
253
+ | `res` | `git reset` with option expansion `-h`=`--hard`, `-s`=`--soft` (supports `res ~3` expansion) |
254
+ | `dif` | `git diff` (supports `dif ~3`, `dif origin ~2` expansion) |
255
+ | `sho` | `git show` (supports `sho ~3`, `sho origin ~2` expansion) |
256
+ | `sta`, `st` | `git stash` |
257
+ | `lint` | Run pre-push checks (spelling, secrets, etc.) |
258
+ | `gdx-config` | Manage gdx configuration |
259
+ | `reword`, `rew` | Rewrite commit messages |
260
+ | `parallel`, `par` | Manage parallel worktrees for the current branch |
261
+ | `stats` | Show contribution statistics and metrics for the current repo |
262
+ | `graph` | Render a GitHub-style contribution heatmap in the terminal |
263
+ | `nocap` | Roast your latest commit message with AI |
264
+ | `clear` | Wipe changes in the working directory with a backup patch |
265
+ | `cache` | Manage gdx cache |
266
+
267
+ _Run `gdx ghelp` to see the full list of expansions/commands._
268
+
269
+ ### Command Extensions
270
+
271
+ | Command | Expansion / Function |
272
+ | :-------------------------------- | :--------------------------------------------------------------------------------------------------- |
273
+ | `tag mv`, `tag move` | Move a tag to a new commit (supports ref expansion) |
274
+ | `lg export` | Export git log to a markdown file with enhanced formatting |
275
+ | `commit auto` | Generate commit messages with AI based on staged changes (supports `--no-commit` and `--copy` flags) |
276
+ | `stash drop` | Drop stashes with advanced options (e.g., `drop 2..6`) |
277
+ | `stash drop pardon` | Restore the last dropped stash |
278
+ | `submodule switch` | Jump into a submodule's directory from the parent repo (requires shell integration) |
279
+ | `status --recursive`, `status -r` | Show status for the main repo and all submodules recursively |
262
280
 
263
281
  ## Development
264
282