Current behaviour
➜ k8sdebug git:(main) ./k8sdebug logs show -n echo --type deployment
Error: accepts 1 arg(s), received 0
Usage:
k8sdebug logs show [flags]
Flags:
-h, --help help for show
--only-names display only names
Global Flags:
-e, --end-of-file reverse the order of the logs
--latest reverse the order of the log files
--max-lines int maximum number of lines to read from the log file (default 10)
--max-pods int chronological index of the pod (default 10)
-n, --namespace string Name of the pod (default "default")
--tail int No. of lines to use for diff (default 10)
-t, --type string Name of the pod (default "pod")
The above command should give a list of all available deployments in echo namespace so that user can select directly from menu