-
-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
display more items and enter fullscreen #1075
base: master
Are you sure you want to change the base?
Conversation
The Label Bot has predicted the following:
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1075 +/- ##
==========================================
+ Coverage 19.81% 20.03% +0.21%
==========================================
Files 21 21
Lines 2649 2656 +7
==========================================
+ Hits 525 532 +7
Misses 2071 2071
Partials 53 53
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hellojukay Great job! Is it possible to add a flag
to control the number of items displayed?
just like:
kubecm switch --items-size 6
It looks like $ ./kubecm switch -h
Switch Kube Context interactively
Usage:
kubecm switch [flags]
kubecm switch [command]
Aliases:
switch, s, sw
Examples:
# Switch Kube Context interactively
kubecm switch
# Quick switch Kube Context
kubecm switch dev
Available Commands:
docs Open document website
Flags:
-h, --help help for switch
Global Flags:
--config string path of kubeconfig (default "$HOME/.kube/config")
--create Create a new kubeconfig file if not exists
-m, --mac-notify enable to display Mac notification banner
-s, --silence-table enable/disable output of context table on successful config update
-u, --ui-size int number of list items to show in menu at once (default 10)
Use "kubecm switch [command] --help" for more information about a command. |
implement #1074
