Closed dart-ops closed 7 hours ago
try egctl version --retmote=false
?
try
egctl version --retmote=false
?
it works, but I think version
flag should always return the application version without requiring additional flags, especially since this behavior is not mentioned it the --help
output
egctl version -h
Show version
Usage:
egctl version [flags]
Aliases:
version, versions, v
Examples:
# Show versions of both client and server.
egctl version
# Show versions of both client and server in JSON format.
egctl version --output=json
# Show version of client without server.
egctl version --remote=false
Flags:
--context string The name of the kubeconfig context to use.
-h, --help help for version
--kubeconfig string Path to the kubeconfig file to use for CLI requests.
-o, --output string One of 'yaml' or 'json' (default "yaml")
-r, --remote If true, retrieve version from remote apiserver. (default true)
thnx
Description: The
egctl version
command should display the application version even when no Kubernetes context existswithout Kubernetes context
with Kubernetes context