kubernetes / kubernetes/kubectl

kubectl without arguments should print all aliases defined in kuberc file

Open
#1,740 11 comments 0 reactions 3 assignees Claimed by @unomns View on GitHub
kind/feature priority/backlog triage/accepted
Dominant language
Go
Stars
3.3k
Forks
1k
PR merge metrics
No merged PRs in 30d

Description

**What would you like to be added**:
I'd like `KUBECTL_KUBERC=true kubectl` to print aliases similarly to how it prints the plugins, see below:

```
Subcommands provided by plugins:
convert The command convert is a plugin installed by the user
krew The command krew is a plugin installed by the user
```

**Why is this needed**:
This will be a nice addition, and should help with debugging problems with kuberc file.

This was brought up in https://github.com/kubernetes/kubernetes/pull/125230/files#r1665566996

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.