gitflash 0.6.0 → 0.7.0.beta2

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