write
cmd/write
Print or write formatted text
Quick Start
write <format> [args...] [--out=stdout|stderr|file] [--newline] [--append]
At A Glance
Usage
write <format> [args...] [--out=stdout|stderr|file] [--newline] [--append]
Subcommands
No subcommands.
Flags
| Flag | Type | Description |
|---|---|---|
-append |
- |
Append to file instead of overwriting |
-newline |
- |
Add newline at end (default true) |
-out |
string |
Output destination: stdout, stderr, or filename (default "stdout") |
Exit Codes
| Code | Meaning |
|---|---|
0 |
Success |
1 |
Runtime/command error |
2 |
Invalid flags/usage |