Documentation ¶
Index ¶
- Variables
- func Execute() error
- func GetCmdTelemetryData(cmd *cobra.Command, flags []string) map[string]interface{}
- func PostRun(cmd *cobra.Command, cmdErr error, telemetryService telemetry.TelemetryService, ...)
- func PreRun(rootCmd *cobra.Command, args []string, telemetryEnabled bool, clientId string, ...) (telemetry.TelemetryService, *cobra.Command, []string, bool, error)
- func RunInitialScreenFlow(cmd *cobra.Command, args []string) error
- func SetupRootCommand(cmd *cobra.Command)
- type GitHubRelease
Constants ¶
This section is empty.
Variables ¶
View Source
var DocsCmd = &cobra.Command{ Use: "docs", Short: "Opens the Daytona documentation in your default browser.", Args: cobra.NoArgs, Aliases: []string{"documentation", "doc"}, RunE: func(cmd *cobra.Command, args []string) error { output := views.GetBoldedInfoMessage("Opening the Daytona documentation in your default browser. If opening fails, you can go to " + linkStyle.Render(docsURL) + " manually.") fmt.Println(output) return browser.OpenURL(docsURL) }, }
Functions ¶
func GetCmdTelemetryData ¶ added in v0.35.0
func RunInitialScreenFlow ¶ added in v0.15.0
func SetupRootCommand ¶ added in v0.15.0
Types ¶
type GitHubRelease ¶ added in v0.50.0
Source Files ¶
Click to show internal directories.
Click to hide internal directories.