File tree Expand file tree Collapse file tree 6 files changed +12
-12
lines changed
Expand file tree Collapse file tree 6 files changed +12
-12
lines changed Original file line number Diff line number Diff line change 99)
1010
1111type ConfigureCmd struct {
12- EnvDir string `help:"Directory to create the environment in. default: './env'" required:"" short:"d"`
13- Name string `help:"Name of the environment to create. default: 'default'" required:"" short:"n"`
12+ EnvDir string `help:"Directory to create the environment in. default: './env'" short:"d"`
13+ Name string `help:"Name of the environment to create. default: 'default'" short:"n"`
1414}
1515
1616type configGenFunc func (cfg EnvironmentConfig , path string ) error
Original file line number Diff line number Diff line change 99)
1010
1111type CreateEnvCmd struct {
12- EnvDir string `help:"Directory to create the environment in. default: './env'" required:"" short:"d"`
13- Name string `help:"Name of the environment to create. default: 'default'" required:"" short:"n"`
12+ EnvDir string `help:"Directory to create the environment in. default: './env'" short:"d"`
13+ Name string `help:"Name of the environment to create. default: 'default'" short:"n"`
1414 Overwrite bool `help:"Overwrite the environment if it already exists." short:"o"`
1515 WithConfig string `help:"Path to a custom configuration file. Replaces the default config." type:"existingfile"`
1616 WithDockerCompose string `help:"Path to a custom Docker Compose file. Replaces the default file." type:"existingfile"`
Original file line number Diff line number Diff line change @@ -13,8 +13,8 @@ import (
1313)
1414
1515type DestroyCmd struct {
16- EnvDir string `help:"Directory to create the environment in. default: './env'" required:"" short:"d"`
17- Name string `help:"Name of the environment to create. default: 'default'" required:"" short:"n"`
16+ EnvDir string `help:"Directory to create the environment in. default: './env'" short:"d"`
17+ Name string `help:"Name of the environment to create. default: 'default'" short:"n"`
1818 Timeout int `help:"Timeout in seconds for stopping containers." short:"t" default:"10"`
1919}
2020
Original file line number Diff line number Diff line change @@ -13,8 +13,8 @@ import (
1313)
1414
1515type DownCmd struct {
16- EnvDir string `help:"Directory to create the environment in. default: './env'" required:"" short:"d"`
17- Name string `help:"Name of the environment to create. default: 'default'" required:"" short:"n"`
16+ EnvDir string `help:"Directory to create the environment in. default: './env'" short:"d"`
17+ Name string `help:"Name of the environment to create. default: 'default'" short:"n"`
1818 Timeout int `help:"Timeout in seconds for stopping containers." short:"t" default:"10"`
1919 Volumes bool `help:"Remove named volumes declared in the 'volumes' section of the Compose file and anonymous volumes attached to containers." short:"v"`
2020}
Original file line number Diff line number Diff line change @@ -13,8 +13,8 @@ import (
1313)
1414
1515type LogsCmd struct {
16- EnvDir string `help:"Directory to create the environment in. default: './env'" required:"" short:"d"`
17- Name string `help:"Name of the environment to create. default: 'default'" required:"" short:"n"`
16+ EnvDir string `help:"Directory to create the environment in. default: './env'" short:"d"`
17+ Name string `help:"Name of the environment to create. default: 'default'" short:"n"`
1818 Follow bool `help:"Follow log output." short:"f"`
1919}
2020
Original file line number Diff line number Diff line change @@ -15,8 +15,8 @@ import (
1515)
1616
1717type UpCmd struct {
18- EnvDir string `help:"Directory to create the environment in. default: './env'" required:"" short:"d" `
19- Name string `help:"Name of the environment to create. default: 'default'" required:"" short:"n"`
18+ EnvDir string `help:"Directory to create the environment in. default: './env'"`
19+ Name string `help:"Name of the environment to create. default: 'default'" short:"n"`
2020 NoConfigure bool `help:"Don't template config files before starting containers"`
2121 Overwrite bool `help:"Overwrite existing environment if it exists." short:"o"`
2222 Detach bool `help:"Run containers in detached mode." short:"d"`
You can’t perform that action at this time.
0 commit comments