summaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorJesús Espino <jespinog@gmail.com>2018-08-08 12:04:16 +0200
committerCarlos Tadeu Panato Junior <ctadeu@gmail.com>2018-08-08 12:04:16 +0200
commit3b640cd51b5b622002d6c9a0d6b1e7a6e9dafb69 (patch)
tree88df72183406b3d40407305b1670b2249c4b9d8a /cmd
parentc11ebddbfb6682deb4114478d3e2ff29f8641c06 (diff)
downloadchat-3b640cd51b5b622002d6c9a0d6b1e7a6e9dafb69.tar.gz
chat-3b640cd51b5b622002d6c9a0d6b1e7a6e9dafb69.tar.bz2
chat-3b640cd51b5b622002d6c9a0d6b1e7a6e9dafb69.zip
Remove global-relay export command from the cli (#9226)
Diffstat (limited to 'cmd')
-rw-r--r--cmd/mattermost/commands/message_export.go10
1 files changed, 0 insertions, 10 deletions
diff --git a/cmd/mattermost/commands/message_export.go b/cmd/mattermost/commands/message_export.go
index e7d82a8c1..953d4ccba 100644
--- a/cmd/mattermost/commands/message_export.go
+++ b/cmd/mattermost/commands/message_export.go
@@ -44,25 +44,15 @@ var ActianceExportCmd = &cobra.Command{
RunE: buildExportCmdF("actiance"),
}
-var GlobalRelayExportCmd = &cobra.Command{
- Use: "global-relay",
- Short: "Export data from Mattermost in Global Relay format",
- Long: "Export data from Mattermost in Global Relay format",
- Example: "export global-relay --exportFrom=12345",
- RunE: buildExportCmdF("globalrelay"),
-}
-
func init() {
ScheduleExportCmd.Flags().String("format", "actiance", "The format to export data")
ScheduleExportCmd.Flags().Int64("exportFrom", -1, "The timestamp of the earliest post to export, expressed in seconds since the unix epoch.")
ScheduleExportCmd.Flags().Int("timeoutSeconds", -1, "The maximum number of seconds to wait for the job to complete before timing out.")
CsvExportCmd.Flags().Int64("exportFrom", -1, "The timestamp of the earliest post to export, expressed in seconds since the unix epoch.")
ActianceExportCmd.Flags().Int64("exportFrom", -1, "The timestamp of the earliest post to export, expressed in seconds since the unix epoch.")
- GlobalRelayExportCmd.Flags().Int64("exportFrom", -1, "The timestamp of the earliest post to export, expressed in seconds since the unix epoch.")
MessageExportCmd.AddCommand(ScheduleExportCmd)
MessageExportCmd.AddCommand(CsvExportCmd)
MessageExportCmd.AddCommand(ActianceExportCmd)
- MessageExportCmd.AddCommand(GlobalRelayExportCmd)
RootCmd.AddCommand(MessageExportCmd)
}