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