Get Repositories

Description

You can either get codefresh repos (previously added) or any repo from your git context (using option “--available” and “--context”).

Command

codefresh get repository [names..]

Aliases

codefresh get repo [names..]

Arguments

Option Alias Default Description
names Names for filtering repos

Options

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

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 codefresh repos

codefresh get repo

Get codefresh repos containing “codefresh-io” in its name

codefresh get repo codefresh-io

Get codefresh repos containing “some-repo” in its name

codefresh get repo some-repo

Get all available repos from default git context

codefresh get repo -a

Get all available repos from “bitbucket” git context

codefresh get repo -a -c bitbucket