wunderio / radi-cli

CLI interface for the Radi-API
1 stars 2 forks source link

don't add internal() commands to cli operation list #19

Closed james-nesbitt closed 7 years ago

james-nesbitt commented 7 years ago

This is a regression fix, for effort that was lost in a recent merge

This patch makes the CLI not show commands marked as Internal() to the user through the CLI.

james-nesbitt commented 7 years ago

the diff looks complicated, all it does is wrap the command addition in an if .Internal()