CLI reference
Use the installed executable’s help for exact flags, positional arguments and defaults rather than a hand-maintained copy.
header --help
header extract --help
header card --helpCommands
| Command | Purpose |
|---|---|
extract (or default URL argument) | Fetch and render website metadata |
lint / verify | Inspect metadata and URL validity |
lint-rules / lint-rule-lists | Discover available lint rules and lists |
trace-redirects | Inspect HTTP and meta-refresh redirects |
edit head / edit meta | Modify local HTML head elements |
card | Export a shareable preview image |
view | View linked images or icons |
httpretty | Print HTTP request and response details |
Output styles include default, all_fields, all_fields_plain, json, discord, jsonld, opengraph and twitter. Use header extract --help to check the current version.
Go package APIs are documented at pkg.go.dev/github.com/arran4/header.