Skip to Content
kusaw docsv1.0.0
CLI reference

kusaw reporting

Control anonymous usage and error reports to kusaw.com. Independent of kusaw telemetry.

kusaw reporting

Control anonymous usage and error reports to kusaw.com. Independent of kusaw telemetry.

Subcommands: status, on, off, inherit, preview, send, reset-id. Local deny: KUSAW_REPORTING=off or reporting.disabled: true. What we collect: /help/anonymous-reporting

Usage

Text
kusaw reporting [flags]

Flags

NameShortTypeDefaultDescription
--configstringPath to kusaw.yaml (overrides KUSAW_CONFIG and parent search)
--factorystringfactory name from kusaw list
--help-hboolfalsehelp for reporting

Subcommands

kusaw reporting inherit

Clear the per-factory reporting override so it follows app consent

Text
kusaw reporting inherit [flags]
NameShortTypeDefaultDescription
--configstringPath to kusaw.yaml (overrides KUSAW_CONFIG and parent search)
--factorystringfactory name from kusaw list
--help-hboolfalsehelp for inherit

Example:

Text
kusaw reporting inherit --factory demo

kusaw reporting off

Disable usage and automatic error reports, or set a factory override

Text
kusaw reporting off [flags]
NameShortTypeDefaultDescription
--configstringPath to kusaw.yaml (overrides KUSAW_CONFIG and parent search)
--factorystringfactory name from kusaw list
--help-hboolfalsehelp for off

Example:

Text
kusaw reporting off

kusaw reporting on

Enable usage and automatic error reports, or set a factory override

Text
kusaw reporting on [flags]
NameShortTypeDefaultDescription
--configstringPath to kusaw.yaml (overrides KUSAW_CONFIG and parent search)
--factorystringfactory name from kusaw list
--help-hboolfalsehelp for on

Example:

Text
kusaw reporting on

kusaw reporting preview

Print the exact pending error report JSON and destination

Text
kusaw reporting preview [flags]
NameShortTypeDefaultDescription
--configstringPath to kusaw.yaml (overrides KUSAW_CONFIG and parent search)
--factorystringfactory name from kusaw list
--help-hboolfalsehelp for preview

Example:

Text
kusaw reporting preview

kusaw reporting reset-id

Replace the local install ID without contacting the ingest

Text
kusaw reporting reset-id [flags]
NameShortTypeDefaultDescription
--configstringPath to kusaw.yaml (overrides KUSAW_CONFIG and parent search)
--confirmboolfalseConfirm replacing the install ID without a prompt
--factorystringfactory name from kusaw list
--help-hboolfalsehelp for reset-id

Example:

Text
kusaw reporting reset-id

kusaw reporting send

Send one exact error report without turning usage on

Text
kusaw reporting send [flags]
NameShortTypeDefaultDescription
--configstringPath to kusaw.yaml (overrides KUSAW_CONFIG and parent search)
--confirmboolfalseConfirm sending this exact saved preview without a prompt
--factorystringfactory name from kusaw list
--help-hboolfalsehelp for send
--previewstringPreview id from a saved preview
--sha256stringSHA-256 of the exact preview bytes

Example:

Text
kusaw reporting send

kusaw reporting status

Show consent, local deny, cached remote status, and whether a recent error exists

Text
kusaw reporting status [flags]
NameShortTypeDefaultDescription
--configstringPath to kusaw.yaml (overrides KUSAW_CONFIG and parent search)
--factorystringfactory name from kusaw list
--help-hboolfalsehelp for status
--jsonboolfalsePrint JSON, including the install ID

Example:

Text
kusaw reporting status

Exit codes

CodeNameDescription
0okSuccess.
1errorRuntime error.
2usageUsage or validation error.
3rejectedControl request rejected; the error string is printed verbatim.
4not picked upControl request not picked up within the wait time while serve runs.

Example

Text
kusaw reporting status

On this page