Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var LogsCmd = &cobra.Command{ Use: "logs", Short: "Output Daytona Server logs", RunE: func(cmd *cobra.Command, args []string) error { ctx := context.Background() c, err := config.GetConfig() if err != nil { return err } activeProfile, err := c.GetActiveProfile() if err != nil { return err } query := "" if followFlag { query += "follow=true" } switch { case localFlag: return readLocalServerLogFile() default: return readRemoteServerLogFile(ctx, activeProfile, query) } }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.