CLI cleanup (#33)

* Moved cli root command to tap subcommand.

* tap subcommand works.

* Added view and fetch placeholders.

* Updated descriptions.

* Fixed indentation.

* Added versio subcommand.

* Removed version flag.

* gofmt.

* Changed pod from flag to arg.

* Commented out "all namespaces" flag.
This commit is contained in:
nimrod-up9
2021-05-06 17:43:22 +03:00
committed by GitHub
parent c7a20ed9c0
commit 6ceaa56474
8 changed files with 125 additions and 52 deletions

View File

@@ -1,16 +1,14 @@
package config
type Options struct {
DisplayVersion bool
Quiet bool
NoDashboard bool
DashboardPort uint16
Namespace string
AllNamespaces bool
KubeConfigPath string
MizuImage string
MizuPodPort uint16
TappedPodName string
Quiet bool
NoDashboard bool
DashboardPort uint16
Namespace string
AllNamespaces bool
KubeConfigPath string
MizuImage string
MizuPodPort uint16
}
var Configuration = &Options{}