create

Description

Annotate a resource with labels.

Command

codefresh create annotation <entity-type> <entity-id> <labels...>

Arguments

Option Alias Default Description
entity-type Type of resource for annotation. required
entity-id Id of resource for annotation. required

Options

Option Alias Default Description
--help Print help information

Examples

Annotate entity with a single label

codefresh create annotation image 2dfacdaad466 coverage=75%

Annotate entity with multiple labels

codefresh create annotation image 2dfacdaad466 coverage=75% tests_passed=true