Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions commands/export/export.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ var exportCmd = &cobra.Command{

return nil
},
PreRun: func(cmd *cobra.Command, args []string) {
logrus.Warn("The export functionality has been deprecated. Please transition to using DevNets.")
},
Run: func(cmd *cobra.Command, args []string) {

network = getExportNetwork()
Expand Down
3 changes: 3 additions & 0 deletions commands/export/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ func init() {
var initCmd = &cobra.Command{
Use: "init",
Short: "Export init is a helper subcommand for creating exported network configuration",
PreRun: func(cmd *cobra.Command, args []string) {
logrus.Warn("The export functionality has been deprecated. Please transition to using DevNets.")
},
Run: func(cmd *cobra.Command, args []string) {
commands.CheckLogin()

Expand Down