Skip to content

Commit 12d39b7

Browse files
authored
fix: remove deprecated brev recreate code implementation (#415)
1 parent bae6bcf commit 12d39b7

4 files changed

Lines changed: 1 addition & 284 deletions

File tree

docs/CONTRIBUTING.md

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
```
1212
VERSION=unknown
13-
BREV_API_URL=http://localhost:8080
13+
BREV_API_URL=http://localhost:8080
1414
# BREV_API_URL=<your backend>
1515
```
1616

@@ -89,15 +89,6 @@ index a33540c..b03d5f2 100644
8989
func hasHousekeepingCommands(cmd *cobra.Command) bool {
9090
```
9191

92-
test your function
93-
94-
```
95-
make && ./brev recreate
96-
```
97-
98-
add documentation by editing `pkg/cmd/recreate/doc.md`. Docs should fill out the
99-
minimum fields:
100-
10192
```
10293
<!-- Insert title here -->
10394
#

pkg/cmd/cmd.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ import (
3838
"github.com/brevdev/brev-cli/pkg/cmd/portforward"
3939
"github.com/brevdev/brev-cli/pkg/cmd/profile"
4040
"github.com/brevdev/brev-cli/pkg/cmd/proxy"
41-
"github.com/brevdev/brev-cli/pkg/cmd/recreate"
4241
"github.com/brevdev/brev-cli/pkg/cmd/redeem"
4342
"github.com/brevdev/brev-cli/pkg/cmd/refresh"
4443
"github.com/brevdev/brev-cli/pkg/cmd/register"
@@ -340,7 +339,6 @@ func createCmdTree(cmd *cobra.Command, t *terminal.Terminal, loginCmdStore *stor
340339
cmd.AddCommand(healthcheck.NewCmdHealthcheck(t, noLoginCmdStore))
341340

342341
cmd.AddCommand(setupworkspace.NewCmdSetupWorkspace(noLoginCmdStore))
343-
cmd.AddCommand(recreate.NewCmdRecreate(t, loginCmdStore))
344342
cmd.AddCommand(writeconnectionevent.NewCmdwriteConnectionEvent(t, loginCmdStore))
345343
cmd.AddCommand(updatemodel.NewCmdupdatemodel(t, loginCmdStore))
346344
cmd.AddCommand(feedback.NewCmdFeedback(t, noLoginCmdStore))

pkg/cmd/recreate/doc.md

Lines changed: 0 additions & 46 deletions
This file was deleted.

pkg/cmd/recreate/recreate.go

Lines changed: 0 additions & 226 deletions
This file was deleted.

0 commit comments

Comments
 (0)