-
Notifications
You must be signed in to change notification settings - Fork 139
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #159 from Tenderly/nu/export-deprecation
Export command deprecation.
- Loading branch information
Showing
44 changed files
with
45 additions
and
6,394 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
package commands | ||
|
||
import ( | ||
"github.com/sirupsen/logrus" | ||
"github.com/spf13/cobra" | ||
) | ||
|
||
func init() { | ||
RootCmd.AddCommand(exportCmd) | ||
RootCmd.AddCommand(exportInitCmd) | ||
} | ||
|
||
var exportCmd = &cobra.Command{ | ||
Use: "export", | ||
Short: "The export feature has been deprecated in favor of the DevNets", | ||
Run: func(cmd *cobra.Command, args []string) { | ||
logrus.Info(Colorizer.Sprintf( | ||
"The export feature has been deprecated in favor of the %s.\n\n"+ | ||
"The %s can be used as a development node infrastructure that allows you to access tooling at %s. "+ | ||
"You can read more about it here: %s.", | ||
Colorizer.Bold(Colorizer.Green("DevNets")), | ||
Colorizer.Bold(Colorizer.Green("DevNets")), | ||
Colorizer.Bold(Colorizer.Green("https://dashboard.tenderly.co")), | ||
Colorizer.Bold(Colorizer.Green("https://blog.tenderly.co/how-to-deploy-smart-contracts-with-hardhat-and-tenderly/")), | ||
)) | ||
}, | ||
} | ||
|
||
var exportInitCmd = &cobra.Command{ | ||
Use: "export init", | ||
Short: "The export feature has been deprecated in favor of the DevNets", | ||
Run: func(cmd *cobra.Command, args []string) { | ||
logrus.Info(Colorizer.Sprintf( | ||
"The export feature has been deprecated in favor of the %s.\n\n"+ | ||
"The %s can be used as a development node infrastructure that allows you to access tooling at %s. "+ | ||
"You can read more about it here: %s.", | ||
Colorizer.Bold(Colorizer.Green("DevNets")), | ||
Colorizer.Bold(Colorizer.Green("DevNets")), | ||
Colorizer.Bold(Colorizer.Green("https://dashboard.tenderly.co")), | ||
Colorizer.Bold(Colorizer.Green("https://blog.tenderly.co/how-to-deploy-smart-contracts-with-hardhat-and-tenderly/")), | ||
)) | ||
}, | ||
} |
Oops, something went wrong.