mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
22 lines
431 B
Go
22 lines
431 B
Go
// Copyright (c) 2016-present Mattermost, Inc. All Rights Reserved.
|
|
// See License.txt for license information.
|
|
|
|
package cmd
|
|
|
|
import (
|
|
"fmt"
|
|
"os"
|
|
)
|
|
|
|
func CommandPrintln(a ...interface{}) (int, error) {
|
|
return fmt.Println(a...)
|
|
}
|
|
|
|
func CommandPrintErrorln(a ...interface{}) (int, error) {
|
|
return fmt.Fprintln(os.Stderr, a...)
|
|
}
|
|
|
|
func CommandPrettyPrintln(a ...interface{}) (int, error) {
|
|
return fmt.Fprintln(os.Stderr, a...)
|
|
}
|