Get Agents

Description

Get a specific agent or an array of agents.

Command

codefresh get agents [id|name]

Aliases

codefresh get agent [id|name]

Arguments

Option Alias Default Description
id name

Options

Option Alias Type Default Description
–help Print help information
–name -n Agent name to filter by

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
- jsonArray
- yamlArray
–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)