Skip to content

feat: add support to open selection menu when name of resource is not specified #3

Description

@Revolyssup

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 helpfor 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions