commitcmd

package
v0.0.20 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 9, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdCommit added in v0.0.15

func NewCmdCommit(f util.Factory, streams *genericclioptions.IOStreams) *cobra.Command

Types

type CommitFlags added in v0.0.15

type CommitFlags struct {
}

func NewCommitFlags added in v0.0.15

func NewCommitFlags() *CommitFlags

The defaults are determined here

func (*CommitFlags) AddFlags added in v0.0.15

func (r *CommitFlags) AddFlags(cmd *cobra.Command)

AddFlags add flags tp the command

func (*CommitFlags) ToOptions added in v0.0.15

func (r *CommitFlags) ToOptions(cmd *cobra.Command, f util.Factory, streams *genericclioptions.IOStreams) (*CommitOptions, error)

ToOptions renders the options based on the flags that were set and will be the base context used to run the command

type CommitOptions added in v0.0.15

type CommitOptions struct {
	Factory util.Factory
	Streams *genericclioptions.IOStreams
}

func (*CommitOptions) Run added in v0.0.15

func (r *CommitOptions) Run(ctx context.Context, args []string) error

func (*CommitOptions) Validate added in v0.0.15

func (r *CommitOptions) Validate(args []string) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL