get

Description

Get annotations.

Command

codefresh get 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
labels Labels to filter by

Options

Option Alias Type Default Description
--help Print help information

Output Options

Option Alias Type Default Description
--select-columns --sc Columns to select for table output
--output -o Output format

Possible values:
- json
- yaml
- wide
- name
- id
--date-format --df Provide predefined or custom date format. Predefined options: [“default”, “date”, “datetime”, “date-diff”]
--pretty Use colors and signs for output
--watch -w boolean false Watching updates to a particular resource
--watch-interval number 3 Interval time at watching mode (in seconds)

Examples

Get all annotations for entity

codefresh get annotation image 2dfacdaad466

Get specified annotations

codefresh get annotation image 2dfacdaad466 coverage tests_passed