You can either get codefresh repos (previously added) or any repo from your git context (using option “--available” and “--context”).
codefresh get repository [names..]
codefresh get repo [names..]
| Option | Alias | Default | Description |
|---|---|---|---|
| names | Names for filtering repos |
| Option | Alias | Type | Default | Description |
|---|---|---|---|---|
| --help | Print help information | |||
| --available | -a | Get all available git repos from provided or default git context | ||
| --limit | -l | number | 25 | Maximum displayed repos number |
| --context | -c | Name of the git context to use, if not passed the default will be used |
| 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) |
codefresh get repo
codefresh get repo codefresh-io
codefresh get repo some-repo
codefresh get repo -a
codefresh get repo -a -c bitbucket