summaryrefslogtreecommitdiffstats
path: root/cmd/platform/output.go
blob: 5b7f9138583a635bafe64336e2a7c819d6919924 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// Copyright (c) 2016 Mattermost, Inc. All Rights Reserved.
// See License.txt for license information.
package main

import (
	"fmt"
	"os"
)

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

func CommandPrint(a ...interface{}) (int, error) {
	return fmt.Print(a...)
}

func CommandPrintErrorln(a ...interface{}) (int, error) {
	return fmt.Fprintln(os.Stderr, a...)
}

func CommandPrintError(a ...interface{}) (int, error) {
	return fmt.Fprint(os.Stderr, a...)
}

func CommandPrettyPrintln(a ...interface{}) (int, error) {
	return fmt.Fprintln(os.Stderr, a...)
}

func CommandPrettyPrint(a ...interface{}) (int, error) {
	return fmt.Fprint(os.Stderr, a...)
}