Help us shape the future of Go! Take the 2026 Go Developer Survey

list

package
v0.2.24 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Cmd = &cobra.Command{
	Use:   "list",
	Short: "📋 List all available AI application templates",
	Long: `List all available AI application templates from DataRobot.

This command shows you all the pre-built templates you can use to quickly 
start building AI applications. Each template includes:
  • Complete application structure
  • Pre-configured components
  • Documentation and examples
  • Ready-to-deploy setup

💡 Use 'dr templates setup' for an interactive selection experience.`,
	PreRunE: func(cmd *cobra.Command, _ []string) error {
		return auth.EnsureAuthenticatedE(cmd.Context())
	},
	Run: func(_ *cobra.Command, _ []string) {
		err := Run()
		if err != nil {
			log.Fatal(err)
			return
		}
	},
}

Functions

func Run

func Run() error

Types

type Model

type Model struct {
	Template   drapi.Template
	SuccessCmd tea.Cmd
	// contains filtered or unexported fields
}

func (Model) Init

func (m Model) Init() tea.Cmd

func (*Model) SetTemplates

func (m *Model) SetTemplates(templates []drapi.Template)

func (Model) Update

func (m Model) Update(msg tea.Msg) (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