setup

package
v0.2.7 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2025 License: Apache-2.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Cmd = &cobra.Command{
	Use:   "setup",
	Short: "🎉 Interactive template setup wizard",
	Long: `Launch the interactive template setup wizard to get started with DataRobot AI applications.

🎯 This wizard will help you:
  1️⃣  Choose an AI application template
  2️⃣  Clone it to your computer
  3️⃣  Configure your environment
  4️⃣  Get you ready to build!

⏱️  Takes about 3-5 minutes
🎉  You'll have a working AI app at the end

💡 Perfect for first-time users or someone starting a new project.`,
	RunE: func(cmd *cobra.Command, _ []string) error {
		return RunTea(cmd.Context())
	},
}

Functions

func RunTea

func RunTea(ctx context.Context) error

RunTea starts the template setup TUI

func RunTeaFromStart added in v0.2.6

func RunTeaFromStart(ctx context.Context, fromStartCommand bool) error

RunTeaFromStart starts the template setup TUI, optionally from the start command

Types

type HostModel added in v0.2.7

type HostModel struct {
	SuccessCmd func(string) tea.Cmd
	// contains filtered or unexported fields
}

func NewHostModel added in v0.2.7

func NewHostModel() HostModel

func (HostModel) Init added in v0.2.7

func (m HostModel) Init() tea.Cmd

func (HostModel) Update added in v0.2.7

func (m HostModel) Update(msg tea.Msg) (HostModel, tea.Cmd)

func (HostModel) View added in v0.2.7

func (m HostModel) View() string

type LoginModel

type LoginModel struct {
	APIKeyChan chan string

	GetHostCmd tea.Cmd
	SuccessCmd tea.Cmd
	// contains filtered or unexported fields
}

func (LoginModel) Init

func (lm LoginModel) Init() tea.Cmd

func (LoginModel) Update

func (lm LoginModel) Update(msg tea.Msg) (LoginModel, tea.Cmd)

func (LoginModel) View

func (lm LoginModel) View() string

type Model

type Model struct {
	// contains filtered or unexported fields
}

func NewModel

func NewModel(fromStartCommand bool) Model

func (Model) Init

func (m Model) Init() tea.Cmd

func (Model) Update

func (m Model) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (Model) View

func (m Model) View() string

Jump to

Keyboard shortcuts

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