22 lines
412 B
Go
22 lines
412 B
Go
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
|
// See LICENSE.txt for license information.
|
|
|
|
package commands
|
|
|
|
import (
|
|
"fmt"
|
|
"os"
|
|
)
|
|
|
|
func CommandPrintln(a ...any) (int, error) {
|
|
return fmt.Println(a...)
|
|
}
|
|
|
|
func CommandPrintErrorln(a ...any) (int, error) {
|
|
return fmt.Fprintln(os.Stderr, a...)
|
|
}
|
|
|
|
func CommandPrettyPrintln(a ...any) (int, error) {
|
|
return fmt.Fprintln(os.Stdout, a...)
|
|
}
|