ryane / kfilt

kfilt can filter Kubernetes resources.
Apache License 2.0
102 stars 8 forks source link

add count parameter to limit output #26

Closed cmeury closed 1 year ago

cmeury commented 2 years ago

adding flag: -c, --count int The amount of resources to include

Outputting only the first count resources, after applying all other filters. Output everything in the following cases:

Wanted to add this for convenience when using it interactively for testing purposes. Not a daily golang programmer, please be frank with comments.

ryane commented 1 year ago

thanks! sorry for the long delay but this looks great.