corneliusweig / rakkess

Review Access - kubectl plugin to show an access matrix for k8s server resources
Apache License 2.0
1.3k stars 56 forks source link

Show the correct command name when built for `krew` #17

Closed corneliusweig closed 4 years ago

corneliusweig commented 5 years ago

Summary

Currently, the help messages always show rakkess, even if the binary is distributed for krew. This is confusing, because in krew the command is called access-matrix.

Goal

When distributed standalone, call it rakkess. When distributed for krew, call it kubectl access-matrix.