github.com/jenkins-x/jx/v2@v2.1.155/pkg/cmd/opts/step/step.go (about) 1 package step 2 3 import "github.com/jenkins-x/jx/v2/pkg/cmd/opts" 4 5 // GetOptions is the start of the data required to perform the operation. As new fields are added, add them here instead of 6 // referencing the cmd.Flags() 7 type StepOptions struct { 8 *opts.CommonOptions 9 10 DisableImport bool 11 OutDir string 12 } 13 14 // Run implements this command 15 func (o *StepOptions) Run() error { 16 return o.Cmd.Help() 17 } 18 19 // StepGitMergeOptions contains the command line flags 20 type StepGitMergeOptions struct { 21 StepOptions 22 23 SHAs []string 24 Remote string 25 Dir string 26 BaseBranch string 27 BaseSHA string 28 } 29 30 // StepCreateOptions contains the command line flags 31 type StepCreateOptions struct { 32 StepOptions 33 } 34 35 // StepUpdateOptions contains the command line flags 36 type StepUpdateOptions struct { 37 StepOptions 38 }