diff options
author | cpanato <ctadeu@gmail.com> | 2018-08-08 13:53:10 +0200 |
---|---|---|
committer | cpanato <ctadeu@gmail.com> | 2018-08-08 13:53:10 +0200 |
commit | ae891321ad2e4b07e4f77b252379cb998607c687 (patch) | |
tree | de7cfa9b9fb1c0d7da2164e42e8516f62c7aaff1 /cmd | |
parent | 99cf15b56eb561dc30def86ad7e3cd97af4c338c (diff) | |
parent | 5fbec91c35d7ea5d9b920b26a01fc21da55bb08e (diff) | |
download | chat-ae891321ad2e4b07e4f77b252379cb998607c687.tar.gz chat-ae891321ad2e4b07e4f77b252379cb998607c687.tar.bz2 chat-ae891321ad2e4b07e4f77b252379cb998607c687.zip |
Merge remote-tracking branch 'upstream/release-5.2' into release-5.2-daily-merge-20180808
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/mattermost/commands/message_export.go | 10 |
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) } |