Documentation ¶ Index ¶ Variables func Run() error type Model func (m Model) Init() tea.Cmd func (m *Model) SetTemplates(templates []drapi.Template) func (m Model) Update(msg tea.Msg) (Model, tea.Cmd) func (m Model) View() string Constants ¶ This section is empty. Variables ¶ View Source var Cmd = &cobra.Command{ Use: "list", Short: "List all available templates", Long: `List all available templates in the DataRobot application.`, 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 Source Files ¶ View all Source files cmd.gomodel.go Click to show internal directories. Click to hide internal directories.