diff --git a/commands/export/export.go b/commands/export/export.go index 4fc23c7..ea6a214 100644 --- a/commands/export/export.go +++ b/commands/export/export.go @@ -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() diff --git a/commands/export/init.go b/commands/export/init.go index b6744c1..230d055 100644 --- a/commands/export/init.go +++ b/commands/export/init.go @@ -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()