Print is a convenience method to Print to the defined output, fallback to Stderr if not set.
(i ...interface{})
| 1433 | |
| 1434 | // Print is a convenience method to Print to the defined output, fallback to Stderr if not set. |
| 1435 | func (c *Command) Print(i ...interface{}) { |
| 1436 | fmt.Fprint(c.OutOrStderr(), i...) |
| 1437 | } |
| 1438 | |
| 1439 | // Println is a convenience method to Println to the defined output, fallback to Stderr if not set. |
| 1440 | func (c *Command) Println(i ...interface{}) { |