mirror of
https://github.com/mattermost/mattermost.git
synced 2026-02-03 20:40:00 -05:00
21 lines
432 B
Go
21 lines
432 B
Go
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
|
// See License.txt for license information.
|
|
|
|
package commands
|
|
|
|
import (
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
type Command = cobra.Command
|
|
|
|
func Run(args []string) error {
|
|
RootCmd.SetArgs(args)
|
|
return RootCmd.Execute()
|
|
}
|
|
|
|
var RootCmd = &cobra.Command{
|
|
Use: "mmgotool",
|
|
Short: "Mattermost dev utils cli",
|
|
Long: `Mattermost cli to help in the development process`,
|
|
}
|