create

package
v0.2.52 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2025 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	options.BaseOptions
	scmclient.Options

	Args        []string
	Owner       string
	Name        string
	Description string
	HomePage    string
	Template    string
	GitPushHost string
	Private     bool
	Confirm     bool
	Repository  *scm.Repository
}

LabelOptions the options for the command

func NewCmdCreateRepository

func NewCmdCreateRepository() (*cobra.Command, *Options)

NewCmdCreateRepository creates a command object for the command

func (*Options) Run

func (o *Options) Run() error

Run transforms the YAML files

func (*Options) Validate

func (o *Options) Validate() (*scm.Client, error)

Validate create parameters

Jump to

Keyboard shortcuts

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