Comments CLI reference
The comments command lets you manage comments on faults.
All comments commands require both --project-id and --fault-id.
List comments
Section titled “List comments”hb comments list --project-id 12345 --fault-id 67890Required flags:
--project-id— Project ID--fault-id— Fault ID
Optional flags:
-o, --output— Output format:tableorjson(default:table)
Get a comment
Section titled “Get a comment”hb comments get --project-id 12345 --fault-id 67890 --id 11111Required flags:
--project-id— Project ID--fault-id— Fault ID--id— Comment ID
Optional flags:
-o, --output— Output format:textorjson(default:text)
Create a comment
Section titled “Create a comment”hb comments create --project-id 12345 --fault-id 67890 --body "This is a comment"Required flags:
--project-id— Project ID--fault-id— Fault ID--body— Comment text
Optional flags:
-o, --output— Output format:textorjson(default:text)
Update a comment
Section titled “Update a comment”hb comments update --project-id 12345 --fault-id 67890 --id 11111 --body "Updated comment"Required flags:
--project-id— Project ID--fault-id— Fault ID--id— Comment ID--body— New comment text
Optional flags:
-o, --output— Output format:textorjson(default:text)
Delete a comment
Section titled “Delete a comment”hb comments delete --project-id 12345 --fault-id 67890 --id 11111Required flags:
--project-id— Project ID--fault-id— Fault ID--id— Comment ID