jx pipeline fmt

jx pipeline fmt

Formats the local pipeline files

Usage

jx pipeline fmt

Synopsis

Formats the local pipeline files

  • removes any unnecessary parameters
  • converts any shell commands to use ‘script:’ notation

Examples

# Formats the local pipeline files
jx pipeline fmt

Options

  -d, --dir string   The directory to look for the tekton YAML files (default ".lighthouse")
  -h, --help         help for fmt
      --sha string   The git commit SHA of the pipeline catalog repository https://github.com/jenkins-x/jx3-pipeline-catalog. If not specified we clone git and find it

SEE ALSO

  • jx pipeline - commands for working with Jenkins X Pipelines
Auto generated by spf13/cobra on 9-Apr-2021


Last modified April 9, 2021: chore: regenerated plugin docs (70b8c8b237)