register

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package register provides the project register subcommand.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdProjectRegister

func NewCmdProjectRegister(f *cmdutil.Factory, runF func(context.Context, *RegisterOptions) error) *cobra.Command

NewCmdProjectRegister creates the project register command.

Types

type RegisterOptions

type RegisterOptions struct {
	IOStreams *iostreams.IOStreams
	Prompter  func() *prompterpkg.Prompter
	Config    func() (config.Config, error)

	Name string // Positional arg: project name
	Yes  bool
}

RegisterOptions contains the options for the project register command.

Jump to

Keyboard shortcuts

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