Skip to content

Commit

Permalink
Revert "Move tenderly push into tenderly contracts push"
Browse files Browse the repository at this point in the history
This reverts commit 5c7b43a.
  • Loading branch information
Riphal committed Jan 30, 2022
1 parent 5c7b43a commit 0fbe509
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 327 deletions.
29 changes: 0 additions & 29 deletions commands/contract/contracts.go

This file was deleted.

291 changes: 0 additions & 291 deletions commands/contract/push.go

This file was deleted.

10 changes: 4 additions & 6 deletions commands/push.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,17 @@ package commands

import (
"fmt"
"github.com/pkg/errors"
"github.com/tenderly/tenderly-cli/providers"
"os"
"strconv"
"strings"
"time"

"github.com/briandowns/spinner"
"github.com/pkg/errors"
"github.com/sirupsen/logrus"
"github.com/spf13/cobra"

"github.com/tenderly/tenderly-cli/config"
"github.com/tenderly/tenderly-cli/providers"
"github.com/tenderly/tenderly-cli/rest"
"github.com/tenderly/tenderly-cli/rest/payloads"
"github.com/tenderly/tenderly-cli/userError"
Expand All @@ -31,9 +30,8 @@ func init() {
}

var pushCmd = &cobra.Command{
Use: "push",
Short: "Pushes the contracts to the configured project. After the contracts are pushed they are actively monitored by Tenderly",
Deprecated: "tenderly push has been deprecated, use tenderly contracts push",
Use: "push",
Short: "Pushes the contracts to the configured project. After the contracts are pushed they are actively monitored by Tenderly",
Run: func(cmd *cobra.Command, args []string) {
rest := NewRest()
CheckLogin()
Expand Down
1 change: 0 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import (
// DO NOT DELETE THESE IMPORTS
// THIS IS HOW WE SUBSCRIBE NESTED COMMANDS
_ "github.com/tenderly/tenderly-cli/commands/actions"
_ "github.com/tenderly/tenderly-cli/commands/contract"
_ "github.com/tenderly/tenderly-cli/commands/export"
)

Expand Down

0 comments on commit 0fbe509

Please sign in to comment.