cmd

package
v4.9.0-rc1+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 5, 2018 License: AGPL-3.0, Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RootCmd = &cobra.Command{
	Use:   "platform",
	Short: "Open source, self-hosted Slack-alternative",
	Long:  `Mattermost offers workplace messaging across web, PC and phones with archiving, search and integration with your existing systems. Documentation available at https://docs.mattermost.com`,
}

Functions

func CheckCommand

func CheckCommand(t *testing.T, args ...string) string

func CommandPrettyPrintln

func CommandPrettyPrintln(a ...interface{}) (int, error)

func CommandPrintErrorln

func CommandPrintErrorln(a ...interface{}) (int, error)

func CommandPrintln

func CommandPrintln(a ...interface{}) (int, error)

func InitDBCommandContext

func InitDBCommandContext(configFileLocation string) (*app.App, error)

func InitDBCommandContextCobra

func InitDBCommandContextCobra(cmd *cobra.Command) (*app.App, error)

func Run

func Run(args []string) error

func RunCommand

func RunCommand(t *testing.T, args ...string) error

Types

type Command

type Command = cobra.Command

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL