Updated by technical writer agents: - core dev: added task management, api, sync, ci commands - core dev: fixed all flag discrepancies - core go: added work subcommands (init, sync, use) - core go: added missing flags (--json, --check, --open, --threshold) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
422 B
422 B
core go fmt
Format Go code using goimports or gofmt.
Usage
core go fmt [flags]
Flags
| Flag | Description |
|---|---|
--fix |
Fix formatting in place |
--diff |
Show diff of changes |
--check |
Check only, exit 1 if not formatted |
Examples
core go fmt # Check formatting
core go fmt --fix # Fix formatting
core go fmt --diff # Show diff