cli
cli copied to clipboard
feat: add command to pull project to local
What kind of change does this PR introduce?
feature
What is the new behavior?
Add supabase clone to setup a local project from an existing hosted project.
Additional context
The vision here is that each command should follow the unix philosophy of building small single task programs that are composable. Unfortunately, this introduces a lot of fragmentation that affects the overall UX.
Hence, we are adding new commands to quick start section which is a composable stack of other sipmle commands.
Pull Request Test Coverage Report for Build 18967197187
Details
- 14 of 108 (12.96%) changed or added relevant lines in 4 files are covered.
- 5 unchanged lines in 1 file lost coverage.
- Overall coverage decreased (-0.4%) to 54.307%
| Changes Missing Coverage | Covered Lines | Changed/Added Lines | % |
|---|---|---|---|
| internal/db/pull/pull.go | 7 | 11 | 63.64% |
| internal/db/diff/diff.go | 7 | 14 | 50.0% |
| cmd/clone.go | 0 | 15 | 0.0% |
| internal/clone/clone.go | 0 | 68 | 0.0% |
| <!-- | Total: | 14 | 108 |
| Files with Coverage Reduction | New Missed Lines | % |
|---|---|---|
| internal/gen/keys/keys.go | 5 | 12.9% |
| <!-- | Total: | 5 |
| Totals | |
|---|---|
| Change from base Build 18965934599: | -0.4% |
| Covered Lines: | 6399 |
| Relevant Lines: | 11783 |