tools/mmgotool: move into monorepo (#24010)

Этот коммит содержится в:
Ibrahim Serdar Acikgoz
2023-07-17 16:15:58 +03:00
коммит произвёл GitHub
родитель 8ee38ee644
Коммит 38fd8cd6aa
7 изменённых файлов: 815 добавлений и 2 удалений

21
tools/mmgotool/commands/root.go Обычный файл
Просмотреть файл

@@ -0,0 +1,21 @@
// 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`,
}