Documentation ¶
Index ¶
- Constants
- func NewCmdStepPR(commonOpts *opts.CommonOptions) *cobra.Command
- func NewCmdStepPRComment(commonOpts *opts.CommonOptions) *cobra.Command
- func NewCmdStepPRLabels(commonOpts *opts.CommonOptions) *cobra.Command
- type StepPRCommentFlags
- type StepPRCommentOptions
- type StepPRLabelsOptions
- type StepPROptions
Constants ¶
View Source
const DefaultPrefix = "JX_PR_LABELS"
DefaultPrefix for all PR labels environment keys
Variables ¶
This section is empty.
Functions ¶
func NewCmdStepPR ¶
func NewCmdStepPR(commonOpts *opts.CommonOptions) *cobra.Command
NewCmdStepPR Steps a command object for the "step pr" command
func NewCmdStepPRComment ¶
func NewCmdStepPRComment(commonOpts *opts.CommonOptions) *cobra.Command
NewCmdStepPRComment Steps a command object for the "step pr comment" command
func NewCmdStepPRLabels ¶
func NewCmdStepPRLabels(commonOpts *opts.CommonOptions) *cobra.Command
NewCmdStepPRLabels creates the new cmd
Types ¶
type StepPRCommentFlags ¶
type StepPRCommentOptions ¶
type StepPRCommentOptions struct { StepPROptions Flags StepPRCommentFlags }
GetOptions is the start of the data required to perform the operation. As new fields are added, add them here instead of referencing the cmd.Flags()
func (*StepPRCommentOptions) Run ¶
func (o *StepPRCommentOptions) Run() error
Run implements this command
type StepPRLabelsOptions ¶
type StepPRLabelsOptions struct { *opts.CommonOptions Dir string Prefix string PullRequest string }
StepPRLabelsOptions holds the options for the cmd
func (*StepPRLabelsOptions) Run ¶
func (o *StepPRLabelsOptions) Run() error
Run implements the execution
type StepPROptions ¶
type StepPROptions struct {
step.StepOptions
}
GetOptions is the start of the data required to perform the operation. As new fields are added, add them here instead of referencing the cmd.Flags()
Click to show internal directories.
Click to hide internal directories.