Get Composition

Description

Get a specific composition or an array of compositions.

Passing [id|name] argument will cause a retrieval of a specific composition.
In case of not passing [id|name] argument, a list will be returned.

Command

codefresh get compositions [id|name..]

Aliases

codefresh get com [id|name..]

codefresh get composition [id|name..]

Arguments

Option Alias Default Description
id composition id or name

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 compositions

codefresh get compositions

Get a specific composition

codefresh get compositions NAME