jx step get dependency-version

list of jx commands

jx step get dependency-version

Outputs the version of a dependency from the Jenkins X dependency matrix

Synopsis

Outputs the version of a specific dependency from the dependency matrix in the version stream or a local directory

jx step get dependency-version [flags]

Examples

  # display the version of jx in the version stream
  jx step get dependency-version --host=github.com --owner=jenkins-x --repo=jx
  
  # display the version of jx in a local directory containing a "dependency-matrix" subdirectory, only logging the version
  jx step get dependency-version --host=github.com --owner=jenkins-x --repo=jx --dir=/some/directory --short

Options

      --dir string     Directory to read dependency matrix from instead of using the version stream
  -h, --help           help for dependency-version
      --host string    Host for dependency repo in the matrix
      --owner string   Owner for dependency repo in the matrix
      --repo string    Repo name for dependency repo in the matrix
      --short          Display the dependency version only

Options inherited from parent commands

  -b, --batch-mode   Runs in batch mode without prompting for user input
      --verbose      Enables verbose output. The environment variable JX_LOG_LEVEL has precedence over this flag and allows setting the logging level to any value of: panic, fatal, error, warn, info, debug, trace

SEE ALSO

Auto generated by spf13/cobra on 2-Sep-2020