Skip to content

Commit ec6f54a

Browse files
authored
Merge pull request #2662 from lianmakesthings/improve-docs
Improve docs
2 parents bbecdff + a1e48ab commit ec6f54a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+103
-53
lines changed

cmd/flags/flags.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ func SetGlobalFlags(flags *flag.FlagSet) *GlobalFlags {
4444
Flags: flags,
4545
}
4646

47-
flags.StringVar(&globalFlags.OverrideName, "override-name", "", "If specified will override the devspace.yaml name")
47+
flags.StringVar(&globalFlags.OverrideName, "override-name", "", "If specified will override the DevSpace project name provided in the devspace.yaml")
4848
flags.BoolVar(&globalFlags.NoWarn, "no-warn", false, "If true does not show any warning when deploying into a different namespace or kube-context than before")
4949
flags.BoolVar(&globalFlags.NoColors, "no-colors", false, "Do not show color highlighting in log output. This avoids invisible output with different terminal background colors")
5050
flags.BoolVar(&globalFlags.Debug, "debug", false, "Prints the stack trace if an error occurs")

docs/pages/cli.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,9 @@ DevSpace accelerates developing, deploying and debugging applications with Docke
2626
--kube-context string The kubernetes context to use
2727
--kubeconfig string The kubeconfig path to use
2828
-n, --namespace string The kubernetes namespace to use
29+
--no-colors Do not show color highlighting in log output. This avoids invisible output with different terminal background colors
2930
--no-warn If true does not show any warning when deploying into a different namespace or kube-context than before
30-
--override-name string If specified will override the devspace.yaml name
31+
--override-name string If specified will override the DevSpace project name provided in the devspace.yaml
3132
-p, --profile strings The DevSpace profiles to apply. Multiple profiles are applied in the order they are specified
3233
--silent Run in silent mode and prevents any devspace log output except panics & fatals
3334
-s, --switch-context Switches and uses the last kube context and namespace that was used to deploy the DevSpace project

docs/pages/cli/devspace_add.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,9 @@ Adds config sections to devspace.yaml
3333
--kube-context string The kubernetes context to use
3434
--kubeconfig string The kubeconfig path to use
3535
-n, --namespace string The kubernetes namespace to use
36+
--no-colors Do not show color highlighting in log output. This avoids invisible output with different terminal background colors
3637
--no-warn If true does not show any warning when deploying into a different namespace or kube-context than before
37-
--override-name string If specified will override the devspace.yaml name
38+
--override-name string If specified will override the DevSpace project name provided in the devspace.yaml
3839
-p, --profile strings The DevSpace profiles to apply. Multiple profiles are applied in the order they are specified
3940
--silent Run in silent mode and prevents any devspace log output except panics & fatals
4041
-s, --switch-context Switches and uses the last kube context and namespace that was used to deploy the DevSpace project

docs/pages/cli/devspace_add_plugin.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,9 @@ devspace add plugin https://github.com/my-plugin/plugin
4141
--kube-context string The kubernetes context to use
4242
--kubeconfig string The kubeconfig path to use
4343
-n, --namespace string The kubernetes namespace to use
44+
--no-colors Do not show color highlighting in log output. This avoids invisible output with different terminal background colors
4445
--no-warn If true does not show any warning when deploying into a different namespace or kube-context than before
45-
--override-name string If specified will override the devspace.yaml name
46+
--override-name string If specified will override the DevSpace project name provided in the devspace.yaml
4647
-p, --profile strings The DevSpace profiles to apply. Multiple profiles are applied in the order they are specified
4748
--silent Run in silent mode and prevents any devspace log output except panics & fatals
4849
-s, --switch-context Switches and uses the last kube context and namespace that was used to deploy the DevSpace project

docs/pages/cli/devspace_analyze.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,9 @@ devspace analyze --namespace=mynamespace
4747
--kube-context string The kubernetes context to use
4848
--kubeconfig string The kubeconfig path to use
4949
-n, --namespace string The kubernetes namespace to use
50+
--no-colors Do not show color highlighting in log output. This avoids invisible output with different terminal background colors
5051
--no-warn If true does not show any warning when deploying into a different namespace or kube-context than before
51-
--override-name string If specified will override the devspace.yaml name
52+
--override-name string If specified will override the DevSpace project name provided in the devspace.yaml
5253
-p, --profile strings The DevSpace profiles to apply. Multiple profiles are applied in the order they are specified
5354
--silent Run in silent mode and prevents any devspace log output except panics & fatals
5455
-s, --switch-context Switches and uses the last kube context and namespace that was used to deploy the DevSpace project

docs/pages/cli/devspace_attach.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,9 @@ devspace attach -n my-namespace
4848
--kube-context string The kubernetes context to use
4949
--kubeconfig string The kubeconfig path to use
5050
-n, --namespace string The kubernetes namespace to use
51+
--no-colors Do not show color highlighting in log output. This avoids invisible output with different terminal background colors
5152
--no-warn If true does not show any warning when deploying into a different namespace or kube-context than before
52-
--override-name string If specified will override the devspace.yaml name
53+
--override-name string If specified will override the DevSpace project name provided in the devspace.yaml
5354
-p, --profile strings The DevSpace profiles to apply. Multiple profiles are applied in the order they are specified
5455
--silent Run in silent mode and prevents any devspace log output except panics & fatals
5556
-s, --switch-context Switches and uses the last kube context and namespace that was used to deploy the DevSpace project

docs/pages/cli/devspace_build.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,9 @@ Builds all defined images and pushes them
5454
--kube-context string The kubernetes context to use
5555
--kubeconfig string The kubeconfig path to use
5656
-n, --namespace string The kubernetes namespace to use
57+
--no-colors Do not show color highlighting in log output. This avoids invisible output with different terminal background colors
5758
--no-warn If true does not show any warning when deploying into a different namespace or kube-context than before
58-
--override-name string If specified will override the devspace.yaml name
59+
--override-name string If specified will override the DevSpace project name provided in the devspace.yaml
5960
-p, --profile strings The DevSpace profiles to apply. Multiple profiles are applied in the order they are specified
6061
--silent Run in silent mode and prevents any devspace log output except panics & fatals
6162
-s, --switch-context Switches and uses the last kube context and namespace that was used to deploy the DevSpace project

docs/pages/cli/devspace_cleanup.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,9 @@ Cleans up resources
3232
--kube-context string The kubernetes context to use
3333
--kubeconfig string The kubeconfig path to use
3434
-n, --namespace string The kubernetes namespace to use
35+
--no-colors Do not show color highlighting in log output. This avoids invisible output with different terminal background colors
3536
--no-warn If true does not show any warning when deploying into a different namespace or kube-context than before
36-
--override-name string If specified will override the devspace.yaml name
37+
--override-name string If specified will override the DevSpace project name provided in the devspace.yaml
3738
-p, --profile strings The DevSpace profiles to apply. Multiple profiles are applied in the order they are specified
3839
--silent Run in silent mode and prevents any devspace log output except panics & fatals
3940
-s, --switch-context Switches and uses the last kube context and namespace that was used to deploy the DevSpace project

docs/pages/cli/devspace_cleanup_images.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,9 @@ Deletes all locally created docker images from docker
3838
--kube-context string The kubernetes context to use
3939
--kubeconfig string The kubeconfig path to use
4040
-n, --namespace string The kubernetes namespace to use
41+
--no-colors Do not show color highlighting in log output. This avoids invisible output with different terminal background colors
4142
--no-warn If true does not show any warning when deploying into a different namespace or kube-context than before
42-
--override-name string If specified will override the devspace.yaml name
43+
--override-name string If specified will override the DevSpace project name provided in the devspace.yaml
4344
-p, --profile strings The DevSpace profiles to apply. Multiple profiles are applied in the order they are specified
4445
--silent Run in silent mode and prevents any devspace log output except panics & fatals
4546
-s, --switch-context Switches and uses the last kube context and namespace that was used to deploy the DevSpace project

docs/pages/cli/devspace_cleanup_local-registry.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,9 @@ Deletes the local image registry
3838
--kube-context string The kubernetes context to use
3939
--kubeconfig string The kubeconfig path to use
4040
-n, --namespace string The kubernetes namespace to use
41+
--no-colors Do not show color highlighting in log output. This avoids invisible output with different terminal background colors
4142
--no-warn If true does not show any warning when deploying into a different namespace or kube-context than before
42-
--override-name string If specified will override the devspace.yaml name
43+
--override-name string If specified will override the DevSpace project name provided in the devspace.yaml
4344
-p, --profile strings The DevSpace profiles to apply. Multiple profiles are applied in the order they are specified
4445
--silent Run in silent mode and prevents any devspace log output except panics & fatals
4546
-s, --switch-context Switches and uses the last kube context and namespace that was used to deploy the DevSpace project

0 commit comments

Comments
 (0)