register

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2026 License: MIT Imports: 11 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)
	ProjectManager func() (project.ProjectManager, 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