From fafcf0957028f88164844c77b8e5f5248cfd70ab Mon Sep 17 00:00:00 2001
From: stefanprodan <stefan.prodan@gmail.com>
Date: Wed, 16 Sep 2020 14:07:02 +0300
Subject: [PATCH] Add -n shorthand for namespace flag

---
 cmd/gotk/main.go                         | 9 +++------
 docs/cmd/gotk.md                         | 2 +-
 docs/cmd/gotk_bootstrap.md               | 2 +-
 docs/cmd/gotk_bootstrap_github.md        | 2 +-
 docs/cmd/gotk_bootstrap_gitlab.md        | 2 +-
 docs/cmd/gotk_check.md                   | 2 +-
 docs/cmd/gotk_completion.md              | 2 +-
 docs/cmd/gotk_completion_bash.md         | 2 +-
 docs/cmd/gotk_completion_fish.md         | 2 +-
 docs/cmd/gotk_completion_powershell.md   | 2 +-
 docs/cmd/gotk_completion_zsh.md          | 2 +-
 docs/cmd/gotk_create.md                  | 2 +-
 docs/cmd/gotk_create_helmrelease.md      | 2 +-
 docs/cmd/gotk_create_kustomization.md    | 2 +-
 docs/cmd/gotk_create_source.md           | 2 +-
 docs/cmd/gotk_create_source_git.md       | 2 +-
 docs/cmd/gotk_create_source_helm.md      | 2 +-
 docs/cmd/gotk_create_tenant.md           | 2 +-
 docs/cmd/gotk_delete.md                  | 2 +-
 docs/cmd/gotk_delete_helmrelease.md      | 2 +-
 docs/cmd/gotk_delete_kustomization.md    | 2 +-
 docs/cmd/gotk_delete_source.md           | 2 +-
 docs/cmd/gotk_delete_source_git.md       | 2 +-
 docs/cmd/gotk_delete_source_helm.md      | 2 +-
 docs/cmd/gotk_export.md                  | 2 +-
 docs/cmd/gotk_export_helmrelease.md      | 2 +-
 docs/cmd/gotk_export_kustomization.md    | 2 +-
 docs/cmd/gotk_export_source.md           | 2 +-
 docs/cmd/gotk_export_source_git.md       | 2 +-
 docs/cmd/gotk_export_source_helm.md      | 2 +-
 docs/cmd/gotk_get.md                     | 2 +-
 docs/cmd/gotk_get_helmreleases.md        | 2 +-
 docs/cmd/gotk_get_kustomizations.md      | 2 +-
 docs/cmd/gotk_get_sources.md             | 2 +-
 docs/cmd/gotk_get_sources_git.md         | 2 +-
 docs/cmd/gotk_get_sources_helm.md        | 2 +-
 docs/cmd/gotk_install.md                 | 2 +-
 docs/cmd/gotk_reconcile.md               | 2 +-
 docs/cmd/gotk_reconcile_helmrelease.md   | 2 +-
 docs/cmd/gotk_reconcile_kustomization.md | 2 +-
 docs/cmd/gotk_reconcile_source.md        | 2 +-
 docs/cmd/gotk_reconcile_source_git.md    | 2 +-
 docs/cmd/gotk_reconcile_source_helm.md   | 2 +-
 docs/cmd/gotk_resume.md                  | 2 +-
 docs/cmd/gotk_resume_helmrelease.md      | 2 +-
 docs/cmd/gotk_resume_kustomization.md    | 2 +-
 docs/cmd/gotk_suspend.md                 | 2 +-
 docs/cmd/gotk_suspend_helmrelease.md     | 2 +-
 docs/cmd/gotk_suspend_kustomization.md   | 2 +-
 docs/cmd/gotk_uninstall.md               | 2 +-
 50 files changed, 52 insertions(+), 55 deletions(-)

diff --git a/cmd/gotk/main.go b/cmd/gotk/main.go
index 039e26f1..8add651e 100644
--- a/cmd/gotk/main.go
+++ b/cmd/gotk/main.go
@@ -117,12 +117,9 @@ var (
 )
 
 func init() {
-	rootCmd.PersistentFlags().StringVar(&namespace, "namespace", defaultNamespace,
-		"the namespace scope for this operation")
-	rootCmd.PersistentFlags().DurationVarP(&timeout, "timeout", "", 5*time.Minute,
-		"timeout for this operation")
-	rootCmd.PersistentFlags().BoolVarP(&verbose, "verbose", "", false,
-		"print generated objects")
+	rootCmd.PersistentFlags().StringVarP(&namespace, "namespace", "n", defaultNamespace, "the namespace scope for this operation")
+	rootCmd.PersistentFlags().DurationVar(&timeout, "timeout", 5*time.Minute, "timeout for this operation")
+	rootCmd.PersistentFlags().BoolVar(&verbose, "verbose", false, "print generated objects")
 }
 
 func main() {
diff --git a/docs/cmd/gotk.md b/docs/cmd/gotk.md
index d2c6b426..7c4c8d60 100644
--- a/docs/cmd/gotk.md
+++ b/docs/cmd/gotk.md
@@ -69,7 +69,7 @@ Command line utility for assembling Kubernetes CD pipelines the GitOps way.
 ```
   -h, --help                help for gotk
       --kubeconfig string   path to the kubeconfig file (default "~/.kube/config")
-      --namespace string    the namespace scope for this operation (default "gitops-system")
+  -n, --namespace string    the namespace scope for this operation (default "gitops-system")
       --timeout duration    timeout for this operation (default 5m0s)
       --verbose             print generated objects
 ```
diff --git a/docs/cmd/gotk_bootstrap.md b/docs/cmd/gotk_bootstrap.md
index 6ac1ec1f..3ef57578 100644
--- a/docs/cmd/gotk_bootstrap.md
+++ b/docs/cmd/gotk_bootstrap.md
@@ -24,7 +24,7 @@ The bootstrap sub-commands bootstrap the toolkit components on the targeted Git
 
 ```
       --kubeconfig string   path to the kubeconfig file (default "~/.kube/config")
-      --namespace string    the namespace scope for this operation (default "gitops-system")
+  -n, --namespace string    the namespace scope for this operation (default "gitops-system")
       --timeout duration    timeout for this operation (default 5m0s)
       --verbose             print generated objects
 ```
diff --git a/docs/cmd/gotk_bootstrap_github.md b/docs/cmd/gotk_bootstrap_github.md
index 7c8620c6..fd04d8d8 100644
--- a/docs/cmd/gotk_bootstrap_github.md
+++ b/docs/cmd/gotk_bootstrap_github.md
@@ -63,7 +63,7 @@ gotk bootstrap github [flags]
       --image-pull-secret string   Kubernetes secret name used for pulling the toolkit images from a private registry
       --kubeconfig string          path to the kubeconfig file (default "~/.kube/config")
       --log-level string           set the controllers log level (default "info")
-      --namespace string           the namespace scope for this operation (default "gitops-system")
+  -n, --namespace string           the namespace scope for this operation (default "gitops-system")
       --registry string            container registry where the toolkit images are published (default "ghcr.io/fluxcd")
       --timeout duration           timeout for this operation (default 5m0s)
       --verbose                    print generated objects
diff --git a/docs/cmd/gotk_bootstrap_gitlab.md b/docs/cmd/gotk_bootstrap_gitlab.md
index 899a437f..ba9bae82 100644
--- a/docs/cmd/gotk_bootstrap_gitlab.md
+++ b/docs/cmd/gotk_bootstrap_gitlab.md
@@ -60,7 +60,7 @@ gotk bootstrap gitlab [flags]
       --image-pull-secret string   Kubernetes secret name used for pulling the toolkit images from a private registry
       --kubeconfig string          path to the kubeconfig file (default "~/.kube/config")
       --log-level string           set the controllers log level (default "info")
-      --namespace string           the namespace scope for this operation (default "gitops-system")
+  -n, --namespace string           the namespace scope for this operation (default "gitops-system")
       --registry string            container registry where the toolkit images are published (default "ghcr.io/fluxcd")
       --timeout duration           timeout for this operation (default 5m0s)
       --verbose                    print generated objects
diff --git a/docs/cmd/gotk_check.md b/docs/cmd/gotk_check.md
index c0fcff77..0da685e4 100644
--- a/docs/cmd/gotk_check.md
+++ b/docs/cmd/gotk_check.md
@@ -34,7 +34,7 @@ gotk check [flags]
 
 ```
       --kubeconfig string   path to the kubeconfig file (default "~/.kube/config")
-      --namespace string    the namespace scope for this operation (default "gitops-system")
+  -n, --namespace string    the namespace scope for this operation (default "gitops-system")
       --timeout duration    timeout for this operation (default 5m0s)
       --verbose             print generated objects
 ```
diff --git a/docs/cmd/gotk_completion.md b/docs/cmd/gotk_completion.md
index 64d126dc..b3348e3e 100644
--- a/docs/cmd/gotk_completion.md
+++ b/docs/cmd/gotk_completion.md
@@ -16,7 +16,7 @@ The completion sub-command generates completion scripts for various shells
 
 ```
       --kubeconfig string   path to the kubeconfig file (default "~/.kube/config")
-      --namespace string    the namespace scope for this operation (default "gitops-system")
+  -n, --namespace string    the namespace scope for this operation (default "gitops-system")
       --timeout duration    timeout for this operation (default 5m0s)
       --verbose             print generated objects
 ```
diff --git a/docs/cmd/gotk_completion_bash.md b/docs/cmd/gotk_completion_bash.md
index 12a7a398..451b690d 100644
--- a/docs/cmd/gotk_completion_bash.md
+++ b/docs/cmd/gotk_completion_bash.md
@@ -34,7 +34,7 @@ command -v gotk >/dev/null && . <(gotk completion bash)
 
 ```
       --kubeconfig string   path to the kubeconfig file (default "~/.kube/config")
-      --namespace string    the namespace scope for this operation (default "gitops-system")
+  -n, --namespace string    the namespace scope for this operation (default "gitops-system")
       --timeout duration    timeout for this operation (default 5m0s)
       --verbose             print generated objects
 ```
diff --git a/docs/cmd/gotk_completion_fish.md b/docs/cmd/gotk_completion_fish.md
index 1db17f52..39bf5760 100644
--- a/docs/cmd/gotk_completion_fish.md
+++ b/docs/cmd/gotk_completion_fish.md
@@ -35,7 +35,7 @@ See http://fishshell.com/docs/current/index.html#completion-own for more details
 
 ```
       --kubeconfig string   path to the kubeconfig file (default "~/.kube/config")
-      --namespace string    the namespace scope for this operation (default "gitops-system")
+  -n, --namespace string    the namespace scope for this operation (default "gitops-system")
       --timeout duration    timeout for this operation (default 5m0s)
       --verbose             print generated objects
 ```
diff --git a/docs/cmd/gotk_completion_powershell.md b/docs/cmd/gotk_completion_powershell.md
index 8941f291..67c3982d 100644
--- a/docs/cmd/gotk_completion_powershell.md
+++ b/docs/cmd/gotk_completion_powershell.md
@@ -41,7 +41,7 @@ gotk completion >> gotk-completions.ps1
 
 ```
       --kubeconfig string   path to the kubeconfig file (default "~/.kube/config")
-      --namespace string    the namespace scope for this operation (default "gitops-system")
+  -n, --namespace string    the namespace scope for this operation (default "gitops-system")
       --timeout duration    timeout for this operation (default 5m0s)
       --verbose             print generated objects
 ```
diff --git a/docs/cmd/gotk_completion_zsh.md b/docs/cmd/gotk_completion_zsh.md
index 8e3449b3..2bfb7f36 100644
--- a/docs/cmd/gotk_completion_zsh.md
+++ b/docs/cmd/gotk_completion_zsh.md
@@ -42,7 +42,7 @@ mv _gotk ~/.zprezto/modules/completion/external/src/  # zprezto
 
 ```
       --kubeconfig string   path to the kubeconfig file (default "~/.kube/config")
-      --namespace string    the namespace scope for this operation (default "gitops-system")
+  -n, --namespace string    the namespace scope for this operation (default "gitops-system")
       --timeout duration    timeout for this operation (default 5m0s)
       --verbose             print generated objects
 ```
diff --git a/docs/cmd/gotk_create.md b/docs/cmd/gotk_create.md
index c96baf9a..b9a0bda1 100644
--- a/docs/cmd/gotk_create.md
+++ b/docs/cmd/gotk_create.md
@@ -19,7 +19,7 @@ The create sub-commands generate sources and resources.
 
 ```
       --kubeconfig string   path to the kubeconfig file (default "~/.kube/config")
-      --namespace string    the namespace scope for this operation (default "gitops-system")
+  -n, --namespace string    the namespace scope for this operation (default "gitops-system")
       --timeout duration    timeout for this operation (default 5m0s)
       --verbose             print generated objects
 ```
diff --git a/docs/cmd/gotk_create_helmrelease.md b/docs/cmd/gotk_create_helmrelease.md
index d0115542..e1d254f4 100644
--- a/docs/cmd/gotk_create_helmrelease.md
+++ b/docs/cmd/gotk_create_helmrelease.md
@@ -73,7 +73,7 @@ gotk create helmrelease [name] [flags]
       --interval duration   source sync interval (default 1m0s)
       --kubeconfig string   path to the kubeconfig file (default "~/.kube/config")
       --label strings       set labels on the resource (can specify multiple labels with commas: label1=value1,label2=value2)
-      --namespace string    the namespace scope for this operation (default "gitops-system")
+  -n, --namespace string    the namespace scope for this operation (default "gitops-system")
       --timeout duration    timeout for this operation (default 5m0s)
       --verbose             print generated objects
 ```
diff --git a/docs/cmd/gotk_create_kustomization.md b/docs/cmd/gotk_create_kustomization.md
index e87a9311..3f0ad7ca 100644
--- a/docs/cmd/gotk_create_kustomization.md
+++ b/docs/cmd/gotk_create_kustomization.md
@@ -69,7 +69,7 @@ gotk create kustomization [name] [flags]
       --interval duration   source sync interval (default 1m0s)
       --kubeconfig string   path to the kubeconfig file (default "~/.kube/config")
       --label strings       set labels on the resource (can specify multiple labels with commas: label1=value1,label2=value2)
-      --namespace string    the namespace scope for this operation (default "gitops-system")
+  -n, --namespace string    the namespace scope for this operation (default "gitops-system")
       --timeout duration    timeout for this operation (default 5m0s)
       --verbose             print generated objects
 ```
diff --git a/docs/cmd/gotk_create_source.md b/docs/cmd/gotk_create_source.md
index 3cc93193..a75c25a2 100644
--- a/docs/cmd/gotk_create_source.md
+++ b/docs/cmd/gotk_create_source.md
@@ -19,7 +19,7 @@ The create source sub-commands generate sources.
       --interval duration   source sync interval (default 1m0s)
       --kubeconfig string   path to the kubeconfig file (default "~/.kube/config")
       --label strings       set labels on the resource (can specify multiple labels with commas: label1=value1,label2=value2)
-      --namespace string    the namespace scope for this operation (default "gitops-system")
+  -n, --namespace string    the namespace scope for this operation (default "gitops-system")
       --timeout duration    timeout for this operation (default 5m0s)
       --verbose             print generated objects
 ```
diff --git a/docs/cmd/gotk_create_source_git.md b/docs/cmd/gotk_create_source_git.md
index bdf6f9be..91c80960 100644
--- a/docs/cmd/gotk_create_source_git.md
+++ b/docs/cmd/gotk_create_source_git.md
@@ -74,7 +74,7 @@ gotk create source git [name] [flags]
       --interval duration   source sync interval (default 1m0s)
       --kubeconfig string   path to the kubeconfig file (default "~/.kube/config")
       --label strings       set labels on the resource (can specify multiple labels with commas: label1=value1,label2=value2)
-      --namespace string    the namespace scope for this operation (default "gitops-system")
+  -n, --namespace string    the namespace scope for this operation (default "gitops-system")
       --timeout duration    timeout for this operation (default 5m0s)
       --verbose             print generated objects
 ```
diff --git a/docs/cmd/gotk_create_source_helm.md b/docs/cmd/gotk_create_source_helm.md
index 5c9a3bbb..84d55ce4 100644
--- a/docs/cmd/gotk_create_source_helm.md
+++ b/docs/cmd/gotk_create_source_helm.md
@@ -54,7 +54,7 @@ gotk create source helm [name] [flags]
       --interval duration   source sync interval (default 1m0s)
       --kubeconfig string   path to the kubeconfig file (default "~/.kube/config")
       --label strings       set labels on the resource (can specify multiple labels with commas: label1=value1,label2=value2)
-      --namespace string    the namespace scope for this operation (default "gitops-system")
+  -n, --namespace string    the namespace scope for this operation (default "gitops-system")
       --timeout duration    timeout for this operation (default 5m0s)
       --verbose             print generated objects
 ```
diff --git a/docs/cmd/gotk_create_tenant.md b/docs/cmd/gotk_create_tenant.md
index 82d75550..f79a7bc8 100644
--- a/docs/cmd/gotk_create_tenant.md
+++ b/docs/cmd/gotk_create_tenant.md
@@ -25,7 +25,7 @@ gotk create tenant [flags]
       --interval duration   source sync interval (default 1m0s)
       --kubeconfig string   path to the kubeconfig file (default "~/.kube/config")
       --label strings       set labels on the resource (can specify multiple labels with commas: label1=value1,label2=value2)
-      --namespace string    the namespace scope for this operation (default "gitops-system")
+  -n, --namespace string    the namespace scope for this operation (default "gitops-system")
       --timeout duration    timeout for this operation (default 5m0s)
       --verbose             print generated objects
 ```
diff --git a/docs/cmd/gotk_delete.md b/docs/cmd/gotk_delete.md
index 75d2f5e8..dec228b7 100644
--- a/docs/cmd/gotk_delete.md
+++ b/docs/cmd/gotk_delete.md
@@ -17,7 +17,7 @@ The delete sub-commands delete sources and resources.
 
 ```
       --kubeconfig string   path to the kubeconfig file (default "~/.kube/config")
-      --namespace string    the namespace scope for this operation (default "gitops-system")
+  -n, --namespace string    the namespace scope for this operation (default "gitops-system")
       --timeout duration    timeout for this operation (default 5m0s)
       --verbose             print generated objects
 ```
diff --git a/docs/cmd/gotk_delete_helmrelease.md b/docs/cmd/gotk_delete_helmrelease.md
index c46a1755..9ceaf7e6 100644
--- a/docs/cmd/gotk_delete_helmrelease.md
+++ b/docs/cmd/gotk_delete_helmrelease.md
@@ -28,7 +28,7 @@ gotk delete helmrelease [name] [flags]
 
 ```
       --kubeconfig string   path to the kubeconfig file (default "~/.kube/config")
-      --namespace string    the namespace scope for this operation (default "gitops-system")
+  -n, --namespace string    the namespace scope for this operation (default "gitops-system")
   -s, --silent              delete resource without asking for confirmation
       --timeout duration    timeout for this operation (default 5m0s)
       --verbose             print generated objects
diff --git a/docs/cmd/gotk_delete_kustomization.md b/docs/cmd/gotk_delete_kustomization.md
index 919f92f5..c0c3d2f3 100644
--- a/docs/cmd/gotk_delete_kustomization.md
+++ b/docs/cmd/gotk_delete_kustomization.md
@@ -28,7 +28,7 @@ gotk delete kustomization [name] [flags]
 
 ```
       --kubeconfig string   path to the kubeconfig file (default "~/.kube/config")
-      --namespace string    the namespace scope for this operation (default "gitops-system")
+  -n, --namespace string    the namespace scope for this operation (default "gitops-system")
   -s, --silent              delete resource without asking for confirmation
       --timeout duration    timeout for this operation (default 5m0s)
       --verbose             print generated objects
diff --git a/docs/cmd/gotk_delete_source.md b/docs/cmd/gotk_delete_source.md
index 7bb32eca..180ba57e 100644
--- a/docs/cmd/gotk_delete_source.md
+++ b/docs/cmd/gotk_delete_source.md
@@ -16,7 +16,7 @@ The delete source sub-commands delete sources.
 
 ```
       --kubeconfig string   path to the kubeconfig file (default "~/.kube/config")
-      --namespace string    the namespace scope for this operation (default "gitops-system")
+  -n, --namespace string    the namespace scope for this operation (default "gitops-system")
   -s, --silent              delete resource without asking for confirmation
       --timeout duration    timeout for this operation (default 5m0s)
       --verbose             print generated objects
diff --git a/docs/cmd/gotk_delete_source_git.md b/docs/cmd/gotk_delete_source_git.md
index 2087440a..6f312458 100644
--- a/docs/cmd/gotk_delete_source_git.md
+++ b/docs/cmd/gotk_delete_source_git.md
@@ -28,7 +28,7 @@ gotk delete source git [name] [flags]
 
 ```
       --kubeconfig string   path to the kubeconfig file (default "~/.kube/config")
-      --namespace string    the namespace scope for this operation (default "gitops-system")
+  -n, --namespace string    the namespace scope for this operation (default "gitops-system")
   -s, --silent              delete resource without asking for confirmation
       --timeout duration    timeout for this operation (default 5m0s)
       --verbose             print generated objects
diff --git a/docs/cmd/gotk_delete_source_helm.md b/docs/cmd/gotk_delete_source_helm.md
index 2698668e..955508b1 100644
--- a/docs/cmd/gotk_delete_source_helm.md
+++ b/docs/cmd/gotk_delete_source_helm.md
@@ -28,7 +28,7 @@ gotk delete source helm [name] [flags]
 
 ```
       --kubeconfig string   path to the kubeconfig file (default "~/.kube/config")
-      --namespace string    the namespace scope for this operation (default "gitops-system")
+  -n, --namespace string    the namespace scope for this operation (default "gitops-system")
   -s, --silent              delete resource without asking for confirmation
       --timeout duration    timeout for this operation (default 5m0s)
       --verbose             print generated objects
diff --git a/docs/cmd/gotk_export.md b/docs/cmd/gotk_export.md
index a41ffe78..2f9898e1 100644
--- a/docs/cmd/gotk_export.md
+++ b/docs/cmd/gotk_export.md
@@ -17,7 +17,7 @@ The export sub-commands export resources in YAML format.
 
 ```
       --kubeconfig string   path to the kubeconfig file (default "~/.kube/config")
-      --namespace string    the namespace scope for this operation (default "gitops-system")
+  -n, --namespace string    the namespace scope for this operation (default "gitops-system")
       --timeout duration    timeout for this operation (default 5m0s)
       --verbose             print generated objects
 ```
diff --git a/docs/cmd/gotk_export_helmrelease.md b/docs/cmd/gotk_export_helmrelease.md
index 0499987b..7c76144e 100644
--- a/docs/cmd/gotk_export_helmrelease.md
+++ b/docs/cmd/gotk_export_helmrelease.md
@@ -32,7 +32,7 @@ gotk export helmrelease [name] [flags]
 ```
       --all                 select all resources
       --kubeconfig string   path to the kubeconfig file (default "~/.kube/config")
-      --namespace string    the namespace scope for this operation (default "gitops-system")
+  -n, --namespace string    the namespace scope for this operation (default "gitops-system")
       --timeout duration    timeout for this operation (default 5m0s)
       --verbose             print generated objects
 ```
diff --git a/docs/cmd/gotk_export_kustomization.md b/docs/cmd/gotk_export_kustomization.md
index d4a75b51..a70565e7 100644
--- a/docs/cmd/gotk_export_kustomization.md
+++ b/docs/cmd/gotk_export_kustomization.md
@@ -32,7 +32,7 @@ gotk export kustomization [name] [flags]
 ```
       --all                 select all resources
       --kubeconfig string   path to the kubeconfig file (default "~/.kube/config")
-      --namespace string    the namespace scope for this operation (default "gitops-system")
+  -n, --namespace string    the namespace scope for this operation (default "gitops-system")
       --timeout duration    timeout for this operation (default 5m0s)
       --verbose             print generated objects
 ```
diff --git a/docs/cmd/gotk_export_source.md b/docs/cmd/gotk_export_source.md
index 6f7438a8..5cbf32fd 100644
--- a/docs/cmd/gotk_export_source.md
+++ b/docs/cmd/gotk_export_source.md
@@ -18,7 +18,7 @@ The export source sub-commands export sources in YAML format.
 ```
       --all                 select all resources
       --kubeconfig string   path to the kubeconfig file (default "~/.kube/config")
-      --namespace string    the namespace scope for this operation (default "gitops-system")
+  -n, --namespace string    the namespace scope for this operation (default "gitops-system")
       --timeout duration    timeout for this operation (default 5m0s)
       --verbose             print generated objects
 ```
diff --git a/docs/cmd/gotk_export_source_git.md b/docs/cmd/gotk_export_source_git.md
index c10e06e3..2eff4dff 100644
--- a/docs/cmd/gotk_export_source_git.md
+++ b/docs/cmd/gotk_export_source_git.md
@@ -32,7 +32,7 @@ gotk export source git [name] [flags]
 ```
       --all                 select all resources
       --kubeconfig string   path to the kubeconfig file (default "~/.kube/config")
-      --namespace string    the namespace scope for this operation (default "gitops-system")
+  -n, --namespace string    the namespace scope for this operation (default "gitops-system")
       --timeout duration    timeout for this operation (default 5m0s)
       --verbose             print generated objects
       --with-credentials    include credential secrets
diff --git a/docs/cmd/gotk_export_source_helm.md b/docs/cmd/gotk_export_source_helm.md
index 5c734d2d..2921eab8 100644
--- a/docs/cmd/gotk_export_source_helm.md
+++ b/docs/cmd/gotk_export_source_helm.md
@@ -32,7 +32,7 @@ gotk export source helm [name] [flags]
 ```
       --all                 select all resources
       --kubeconfig string   path to the kubeconfig file (default "~/.kube/config")
-      --namespace string    the namespace scope for this operation (default "gitops-system")
+  -n, --namespace string    the namespace scope for this operation (default "gitops-system")
       --timeout duration    timeout for this operation (default 5m0s)
       --verbose             print generated objects
       --with-credentials    include credential secrets
diff --git a/docs/cmd/gotk_get.md b/docs/cmd/gotk_get.md
index aeb7e81e..d0f86a11 100644
--- a/docs/cmd/gotk_get.md
+++ b/docs/cmd/gotk_get.md
@@ -16,7 +16,7 @@ The get sub-commands print the statuses of sources and resources.
 
 ```
       --kubeconfig string   path to the kubeconfig file (default "~/.kube/config")
-      --namespace string    the namespace scope for this operation (default "gitops-system")
+  -n, --namespace string    the namespace scope for this operation (default "gitops-system")
       --timeout duration    timeout for this operation (default 5m0s)
       --verbose             print generated objects
 ```
diff --git a/docs/cmd/gotk_get_helmreleases.md b/docs/cmd/gotk_get_helmreleases.md
index 1087ec2f..c251f3a3 100644
--- a/docs/cmd/gotk_get_helmreleases.md
+++ b/docs/cmd/gotk_get_helmreleases.md
@@ -28,7 +28,7 @@ gotk get helmreleases [flags]
 
 ```
       --kubeconfig string   path to the kubeconfig file (default "~/.kube/config")
-      --namespace string    the namespace scope for this operation (default "gitops-system")
+  -n, --namespace string    the namespace scope for this operation (default "gitops-system")
       --timeout duration    timeout for this operation (default 5m0s)
       --verbose             print generated objects
 ```
diff --git a/docs/cmd/gotk_get_kustomizations.md b/docs/cmd/gotk_get_kustomizations.md
index be82136d..56f93111 100644
--- a/docs/cmd/gotk_get_kustomizations.md
+++ b/docs/cmd/gotk_get_kustomizations.md
@@ -28,7 +28,7 @@ gotk get kustomizations [flags]
 
 ```
       --kubeconfig string   path to the kubeconfig file (default "~/.kube/config")
-      --namespace string    the namespace scope for this operation (default "gitops-system")
+  -n, --namespace string    the namespace scope for this operation (default "gitops-system")
       --timeout duration    timeout for this operation (default 5m0s)
       --verbose             print generated objects
 ```
diff --git a/docs/cmd/gotk_get_sources.md b/docs/cmd/gotk_get_sources.md
index 38ff058c..efcfdb7c 100644
--- a/docs/cmd/gotk_get_sources.md
+++ b/docs/cmd/gotk_get_sources.md
@@ -16,7 +16,7 @@ The get source sub-commands print the statuses of the sources.
 
 ```
       --kubeconfig string   path to the kubeconfig file (default "~/.kube/config")
-      --namespace string    the namespace scope for this operation (default "gitops-system")
+  -n, --namespace string    the namespace scope for this operation (default "gitops-system")
       --timeout duration    timeout for this operation (default 5m0s)
       --verbose             print generated objects
 ```
diff --git a/docs/cmd/gotk_get_sources_git.md b/docs/cmd/gotk_get_sources_git.md
index d57658a4..a4d9f73f 100644
--- a/docs/cmd/gotk_get_sources_git.md
+++ b/docs/cmd/gotk_get_sources_git.md
@@ -28,7 +28,7 @@ gotk get sources git [flags]
 
 ```
       --kubeconfig string   path to the kubeconfig file (default "~/.kube/config")
-      --namespace string    the namespace scope for this operation (default "gitops-system")
+  -n, --namespace string    the namespace scope for this operation (default "gitops-system")
       --timeout duration    timeout for this operation (default 5m0s)
       --verbose             print generated objects
 ```
diff --git a/docs/cmd/gotk_get_sources_helm.md b/docs/cmd/gotk_get_sources_helm.md
index 730d8bd4..277192e1 100644
--- a/docs/cmd/gotk_get_sources_helm.md
+++ b/docs/cmd/gotk_get_sources_helm.md
@@ -28,7 +28,7 @@ gotk get sources helm [flags]
 
 ```
       --kubeconfig string   path to the kubeconfig file (default "~/.kube/config")
-      --namespace string    the namespace scope for this operation (default "gitops-system")
+  -n, --namespace string    the namespace scope for this operation (default "gitops-system")
       --timeout duration    timeout for this operation (default 5m0s)
       --verbose             print generated objects
 ```
diff --git a/docs/cmd/gotk_install.md b/docs/cmd/gotk_install.md
index d92d1503..dcf10cfd 100644
--- a/docs/cmd/gotk_install.md
+++ b/docs/cmd/gotk_install.md
@@ -48,7 +48,7 @@ gotk install [flags]
 
 ```
       --kubeconfig string   path to the kubeconfig file (default "~/.kube/config")
-      --namespace string    the namespace scope for this operation (default "gitops-system")
+  -n, --namespace string    the namespace scope for this operation (default "gitops-system")
       --timeout duration    timeout for this operation (default 5m0s)
       --verbose             print generated objects
 ```
diff --git a/docs/cmd/gotk_reconcile.md b/docs/cmd/gotk_reconcile.md
index d39c8cab..96a4ede3 100644
--- a/docs/cmd/gotk_reconcile.md
+++ b/docs/cmd/gotk_reconcile.md
@@ -16,7 +16,7 @@ The reconcile sub-commands trigger a reconciliation of sources and resources.
 
 ```
       --kubeconfig string   path to the kubeconfig file (default "~/.kube/config")
-      --namespace string    the namespace scope for this operation (default "gitops-system")
+  -n, --namespace string    the namespace scope for this operation (default "gitops-system")
       --timeout duration    timeout for this operation (default 5m0s)
       --verbose             print generated objects
 ```
diff --git a/docs/cmd/gotk_reconcile_helmrelease.md b/docs/cmd/gotk_reconcile_helmrelease.md
index 2761f4d5..2729d6f4 100644
--- a/docs/cmd/gotk_reconcile_helmrelease.md
+++ b/docs/cmd/gotk_reconcile_helmrelease.md
@@ -33,7 +33,7 @@ gotk reconcile helmrelease [name] [flags]
 
 ```
       --kubeconfig string   path to the kubeconfig file (default "~/.kube/config")
-      --namespace string    the namespace scope for this operation (default "gitops-system")
+  -n, --namespace string    the namespace scope for this operation (default "gitops-system")
       --timeout duration    timeout for this operation (default 5m0s)
       --verbose             print generated objects
 ```
diff --git a/docs/cmd/gotk_reconcile_kustomization.md b/docs/cmd/gotk_reconcile_kustomization.md
index b4dc089f..3e19cc11 100644
--- a/docs/cmd/gotk_reconcile_kustomization.md
+++ b/docs/cmd/gotk_reconcile_kustomization.md
@@ -33,7 +33,7 @@ gotk reconcile kustomization [name] [flags]
 
 ```
       --kubeconfig string   path to the kubeconfig file (default "~/.kube/config")
-      --namespace string    the namespace scope for this operation (default "gitops-system")
+  -n, --namespace string    the namespace scope for this operation (default "gitops-system")
       --timeout duration    timeout for this operation (default 5m0s)
       --verbose             print generated objects
 ```
diff --git a/docs/cmd/gotk_reconcile_source.md b/docs/cmd/gotk_reconcile_source.md
index 0d27f453..439da16a 100644
--- a/docs/cmd/gotk_reconcile_source.md
+++ b/docs/cmd/gotk_reconcile_source.md
@@ -16,7 +16,7 @@ The reconcile source sub-commands trigger a reconciliation of sources.
 
 ```
       --kubeconfig string   path to the kubeconfig file (default "~/.kube/config")
-      --namespace string    the namespace scope for this operation (default "gitops-system")
+  -n, --namespace string    the namespace scope for this operation (default "gitops-system")
       --timeout duration    timeout for this operation (default 5m0s)
       --verbose             print generated objects
 ```
diff --git a/docs/cmd/gotk_reconcile_source_git.md b/docs/cmd/gotk_reconcile_source_git.md
index 955c27c9..d72ac912 100644
--- a/docs/cmd/gotk_reconcile_source_git.md
+++ b/docs/cmd/gotk_reconcile_source_git.md
@@ -28,7 +28,7 @@ gotk reconcile source git [name] [flags]
 
 ```
       --kubeconfig string   path to the kubeconfig file (default "~/.kube/config")
-      --namespace string    the namespace scope for this operation (default "gitops-system")
+  -n, --namespace string    the namespace scope for this operation (default "gitops-system")
       --timeout duration    timeout for this operation (default 5m0s)
       --verbose             print generated objects
 ```
diff --git a/docs/cmd/gotk_reconcile_source_helm.md b/docs/cmd/gotk_reconcile_source_helm.md
index 946ed7f2..a5099808 100644
--- a/docs/cmd/gotk_reconcile_source_helm.md
+++ b/docs/cmd/gotk_reconcile_source_helm.md
@@ -28,7 +28,7 @@ gotk reconcile source helm [name] [flags]
 
 ```
       --kubeconfig string   path to the kubeconfig file (default "~/.kube/config")
-      --namespace string    the namespace scope for this operation (default "gitops-system")
+  -n, --namespace string    the namespace scope for this operation (default "gitops-system")
       --timeout duration    timeout for this operation (default 5m0s)
       --verbose             print generated objects
 ```
diff --git a/docs/cmd/gotk_resume.md b/docs/cmd/gotk_resume.md
index c565ebf5..198b4231 100644
--- a/docs/cmd/gotk_resume.md
+++ b/docs/cmd/gotk_resume.md
@@ -16,7 +16,7 @@ The resume sub-commands resume a suspended resource.
 
 ```
       --kubeconfig string   path to the kubeconfig file (default "~/.kube/config")
-      --namespace string    the namespace scope for this operation (default "gitops-system")
+  -n, --namespace string    the namespace scope for this operation (default "gitops-system")
       --timeout duration    timeout for this operation (default 5m0s)
       --verbose             print generated objects
 ```
diff --git a/docs/cmd/gotk_resume_helmrelease.md b/docs/cmd/gotk_resume_helmrelease.md
index 9d0671ac..8fbfc7d2 100644
--- a/docs/cmd/gotk_resume_helmrelease.md
+++ b/docs/cmd/gotk_resume_helmrelease.md
@@ -29,7 +29,7 @@ gotk resume helmrelease [name] [flags]
 
 ```
       --kubeconfig string   path to the kubeconfig file (default "~/.kube/config")
-      --namespace string    the namespace scope for this operation (default "gitops-system")
+  -n, --namespace string    the namespace scope for this operation (default "gitops-system")
       --timeout duration    timeout for this operation (default 5m0s)
       --verbose             print generated objects
 ```
diff --git a/docs/cmd/gotk_resume_kustomization.md b/docs/cmd/gotk_resume_kustomization.md
index a9aa27bc..9d01fd55 100644
--- a/docs/cmd/gotk_resume_kustomization.md
+++ b/docs/cmd/gotk_resume_kustomization.md
@@ -29,7 +29,7 @@ gotk resume kustomization [name] [flags]
 
 ```
       --kubeconfig string   path to the kubeconfig file (default "~/.kube/config")
-      --namespace string    the namespace scope for this operation (default "gitops-system")
+  -n, --namespace string    the namespace scope for this operation (default "gitops-system")
       --timeout duration    timeout for this operation (default 5m0s)
       --verbose             print generated objects
 ```
diff --git a/docs/cmd/gotk_suspend.md b/docs/cmd/gotk_suspend.md
index 69c75952..a51d1a95 100644
--- a/docs/cmd/gotk_suspend.md
+++ b/docs/cmd/gotk_suspend.md
@@ -16,7 +16,7 @@ The suspend sub-commands suspend the reconciliation of a resource.
 
 ```
       --kubeconfig string   path to the kubeconfig file (default "~/.kube/config")
-      --namespace string    the namespace scope for this operation (default "gitops-system")
+  -n, --namespace string    the namespace scope for this operation (default "gitops-system")
       --timeout duration    timeout for this operation (default 5m0s)
       --verbose             print generated objects
 ```
diff --git a/docs/cmd/gotk_suspend_helmrelease.md b/docs/cmd/gotk_suspend_helmrelease.md
index e5fe7332..3f627874 100644
--- a/docs/cmd/gotk_suspend_helmrelease.md
+++ b/docs/cmd/gotk_suspend_helmrelease.md
@@ -28,7 +28,7 @@ gotk suspend helmrelease [name] [flags]
 
 ```
       --kubeconfig string   path to the kubeconfig file (default "~/.kube/config")
-      --namespace string    the namespace scope for this operation (default "gitops-system")
+  -n, --namespace string    the namespace scope for this operation (default "gitops-system")
       --timeout duration    timeout for this operation (default 5m0s)
       --verbose             print generated objects
 ```
diff --git a/docs/cmd/gotk_suspend_kustomization.md b/docs/cmd/gotk_suspend_kustomization.md
index 6be8bb23..ae05302e 100644
--- a/docs/cmd/gotk_suspend_kustomization.md
+++ b/docs/cmd/gotk_suspend_kustomization.md
@@ -28,7 +28,7 @@ gotk suspend kustomization [name] [flags]
 
 ```
       --kubeconfig string   path to the kubeconfig file (default "~/.kube/config")
-      --namespace string    the namespace scope for this operation (default "gitops-system")
+  -n, --namespace string    the namespace scope for this operation (default "gitops-system")
       --timeout duration    timeout for this operation (default 5m0s)
       --verbose             print generated objects
 ```
diff --git a/docs/cmd/gotk_uninstall.md b/docs/cmd/gotk_uninstall.md
index c7e504bd..35704036 100644
--- a/docs/cmd/gotk_uninstall.md
+++ b/docs/cmd/gotk_uninstall.md
@@ -35,7 +35,7 @@ gotk uninstall [flags]
 
 ```
       --kubeconfig string   path to the kubeconfig file (default "~/.kube/config")
-      --namespace string    the namespace scope for this operation (default "gitops-system")
+  -n, --namespace string    the namespace scope for this operation (default "gitops-system")
       --timeout duration    timeout for this operation (default 5m0s)
       --verbose             print generated objects
 ```
-- 
GitLab