Printf is a convenience method to Printf to the defined output, fallback to Stderr if not set.
(format string, i ...interface{})
| 1443 | |
| 1444 | // Printf is a convenience method to Printf to the defined output, fallback to Stderr if not set. |
| 1445 | func (c *Command) Printf(format string, i ...interface{}) { |
| 1446 | c.Print(fmt.Sprintf(format, i...)) |
| 1447 | } |
| 1448 | |
| 1449 | // PrintErr is a convenience method to Print to the defined Err output, fallback to Stderr if not set. |
| 1450 | func (c *Command) PrintErr(i ...interface{}) { |