gitflash 0.6.0 → 0.7.0.beta1

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 (51) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +14 -0
  3. data/README.md +26 -2
  4. data/command_descriptions.yml +76 -0
  5. data/lib/gitflash/branch.rb +7 -2
  6. data/lib/gitflash/cherry_pick.rb +128 -0
  7. data/lib/gitflash/cleanup.rb +70 -0
  8. data/lib/gitflash/cli.rb +37 -0
  9. data/lib/gitflash/commands/base.rb +9 -3
  10. data/lib/gitflash/commands/branches.rb +1 -0
  11. data/lib/gitflash/commands/clean.rb +51 -0
  12. data/lib/gitflash/commands/clean_criteria.rb +29 -0
  13. data/lib/gitflash/commands/delete.rb +17 -5
  14. data/lib/gitflash/commands/hook_install.rb +17 -9
  15. data/lib/gitflash/commands/hook_status.rb +24 -6
  16. data/lib/gitflash/commands/mark.rb +85 -0
  17. data/lib/gitflash/commands/pick.rb +131 -0
  18. data/lib/gitflash/commands/pick_control.rb +67 -0
  19. data/lib/gitflash/commands/pick_outcome.rb +52 -0
  20. data/lib/gitflash/commands/removal_report.rb +65 -0
  21. data/lib/gitflash/commands/undo.rb +38 -6
  22. data/lib/gitflash/commands/worktree_add.rb +98 -0
  23. data/lib/gitflash/commands/worktree_clean.rb +49 -0
  24. data/lib/gitflash/commands/worktree_command.rb +28 -0
  25. data/lib/gitflash/commands/worktree_list.rb +48 -0
  26. data/lib/gitflash/commands/worktree_lock.rb +54 -0
  27. data/lib/gitflash/commands/worktree_move.rb +47 -0
  28. data/lib/gitflash/commands/worktree_prune.rb +41 -0
  29. data/lib/gitflash/commands/worktree_remove.rb +119 -0
  30. data/lib/gitflash/commands/worktree_unlock.rb +12 -0
  31. data/lib/gitflash/config.rb +95 -0
  32. data/lib/gitflash/config_keys.rb +19 -0
  33. data/lib/gitflash/git/in_directory.rb +29 -0
  34. data/lib/gitflash/hook/branch_marker.rb +52 -0
  35. data/lib/gitflash/hook/claude.rb +23 -3
  36. data/lib/gitflash/hook/command_parser.rb +29 -9
  37. data/lib/gitflash/hook/creations.rb +85 -0
  38. data/lib/gitflash/hook/settings.rb +18 -5
  39. data/lib/gitflash/hook_cli.rb +12 -4
  40. data/lib/gitflash/ownership.rb +59 -0
  41. data/lib/gitflash/protection.rb +19 -0
  42. data/lib/gitflash/repo.rb +2 -3
  43. data/lib/gitflash/restore.rb +8 -7
  44. data/lib/gitflash/state_capture.rb +2 -2
  45. data/lib/gitflash/version.rb +1 -1
  46. data/lib/gitflash/worktree.rb +32 -0
  47. data/lib/gitflash/worktree_cli.rb +115 -0
  48. data/lib/gitflash/worktree_revival.rb +55 -0
  49. data/lib/gitflash/worktrees.rb +147 -0
  50. data/schema/v1.json +1050 -2
  51. metadata +30 -1
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitflash
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.7.0.beta1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kleanthis Mitsioulis
@@ -74,31 +74,56 @@ files:
74
74
  - command_descriptions.yml
75
75
  - lib/gitflash.rb
76
76
  - lib/gitflash/branch.rb
77
+ - lib/gitflash/cherry_pick.rb
78
+ - lib/gitflash/cleanup.rb
77
79
  - lib/gitflash/cli.rb
78
80
  - lib/gitflash/command_runner.rb
79
81
  - lib/gitflash/commands/base.rb
80
82
  - lib/gitflash/commands/branches.rb
81
83
  - lib/gitflash/commands/checkout.rb
84
+ - lib/gitflash/commands/clean.rb
85
+ - lib/gitflash/commands/clean_criteria.rb
82
86
  - lib/gitflash/commands/delete.rb
83
87
  - lib/gitflash/commands/gc.rb
84
88
  - lib/gitflash/commands/hook_install.rb
85
89
  - lib/gitflash/commands/hook_status.rb
90
+ - lib/gitflash/commands/mark.rb
91
+ - lib/gitflash/commands/pick.rb
92
+ - lib/gitflash/commands/pick_control.rb
93
+ - lib/gitflash/commands/pick_outcome.rb
94
+ - lib/gitflash/commands/removal_report.rb
86
95
  - lib/gitflash/commands/reset.rb
87
96
  - lib/gitflash/commands/snapshot_create.rb
88
97
  - lib/gitflash/commands/snapshot_list.rb
89
98
  - lib/gitflash/commands/undo.rb
99
+ - lib/gitflash/commands/worktree_add.rb
100
+ - lib/gitflash/commands/worktree_clean.rb
101
+ - lib/gitflash/commands/worktree_command.rb
102
+ - lib/gitflash/commands/worktree_list.rb
103
+ - lib/gitflash/commands/worktree_lock.rb
104
+ - lib/gitflash/commands/worktree_move.rb
105
+ - lib/gitflash/commands/worktree_prune.rb
106
+ - lib/gitflash/commands/worktree_remove.rb
107
+ - lib/gitflash/commands/worktree_unlock.rb
90
108
  - lib/gitflash/commit.rb
109
+ - lib/gitflash/config.rb
110
+ - lib/gitflash/config_keys.rb
91
111
  - lib/gitflash/configuration.rb
92
112
  - lib/gitflash/confirmation_required.rb
93
113
  - lib/gitflash/error.rb
94
114
  - lib/gitflash/git/bash_command.rb
95
115
  - lib/gitflash/git/command_error.rb
116
+ - lib/gitflash/git/in_directory.rb
117
+ - lib/gitflash/hook/branch_marker.rb
96
118
  - lib/gitflash/hook/claude.rb
97
119
  - lib/gitflash/hook/command_parser.rb
120
+ - lib/gitflash/hook/creations.rb
98
121
  - lib/gitflash/hook/rules.rb
99
122
  - lib/gitflash/hook/settings.rb
100
123
  - lib/gitflash/hook_cli.rb
124
+ - lib/gitflash/ownership.rb
101
125
  - lib/gitflash/prompt.rb
126
+ - lib/gitflash/protection.rb
102
127
  - lib/gitflash/repo.rb
103
128
  - lib/gitflash/restore.rb
104
129
  - lib/gitflash/result.rb
@@ -109,6 +134,10 @@ files:
109
134
  - lib/gitflash/ui.rb
110
135
  - lib/gitflash/usage_error.rb
111
136
  - lib/gitflash/version.rb
137
+ - lib/gitflash/worktree.rb
138
+ - lib/gitflash/worktree_cli.rb
139
+ - lib/gitflash/worktree_revival.rb
140
+ - lib/gitflash/worktrees.rb
112
141
  - schema/v1.json
113
142
  homepage: https://github.com/Kleanthismits/git_flash
114
143
  licenses: