Commit 5e3f62f
authored
Refactor Pushgate CLI to integrate pre-push hook and remove separate push command (#70)
- Updated documentation to reflect changes in the workflow, emphasizing the integration of Pushgate with Git's pre-push hook.
- Removed the `push` command from the CLI, consolidating functionality into the `pre-push` command.
- Eliminated the `push-args.ts` and `push.ts` modules, simplifying the codebase by removing unnecessary abstractions related to push operations.
- Adjusted the `skip-controls.ts` to remove the `buildGitPushArgs` function, as it is no longer needed.
- Deleted tests related to the `push` command and its associated functionality, ensuring the test suite reflects the current state of the codebase.
- Updated existing tests to verify the absence of the `push` command and ensure proper handling of the new workflow.
Co-authored-by: dbrosio3 <daniel.brosio@rootstrap.com>1 parent 98aeffb commit 5e3f62f
13 files changed
Lines changed: 40 additions & 1778 deletions
File tree
- bin
- docs
- architecture
- excalidraw
- domain
- src
- cli
- git
- test
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
| 34 | + | |
| 35 | + | |
38 | 36 | | |
39 | 37 | | |
40 | 38 | | |
| |||
229 | 227 | | |
230 | 228 | | |
231 | 229 | | |
232 | | - | |
233 | | - | |
234 | | - | |
235 | | - | |
236 | | - | |
237 | | - | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | 230 | | |
242 | 231 | | |
243 | 232 | | |
| |||
0 commit comments