Get a specific agent or an array of agents.
codefresh get agents [id|name]
codefresh get agent [id|name]
| Option | Alias | Default | Description |
|---|---|---|---|
| id | name |
| Option | Alias | Type | Default | Description |
|---|---|---|---|---|
| --help | Print help information | |||
| --name | -n | Agent name to filter by |
| 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) |