Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RmCmd = &cobra.Command{ Use: "rm", Short: "Command to remove a Biome studio", Run: func(command *cobra.Command, args []string) { dir, err := os.Getwd() if err != nil { panic(err) } imageName := generateImageName(generateContainerName(dir)) cli, err := client.NewEnvClient() if err != nil { panic(err) } removeImage(cli, imageName) }, }
RmCmd ...
View Source
var RunCmd = &cobra.Command{ Use: "enter", Aliases: []string{"build"}, Short: "Command to remove a Biome studio", Run: func(command *cobra.Command, args []string) { dir, err := os.Getwd() if err != nil { panic(err) } containerName := generateContainerName(dir) cli, err := client.NewEnvClient() if err != nil { panic(err) } args = append([]string{command.CalledAs()}, args...) err = runContainer(cli, args, dir, containerName) commitContainer(cli, containerName) removeContainer(cli, containerName) if err != nil { ui.Fatal(err) } }, }
RunCmd ...
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.