nebraska icon indicating copy to clipboard operation
nebraska copied to clipboard

Create nebraska-cli (CLI client to interact with a Nebraska server)

Open joaquimrocha opened this issue 3 years ago • 2 comments

Current situation Sometimes users want to change things in Nebraska without having to use the UI, for automation or just convenience.

Impact Users cannot automate things like removing groups, listing groups, etc. which means they cannot integrate Nebraska as a tool in some of their workflows/devops.

Ideal future situation Nebraska should have a nebraska-cli that allows all or most of the things that are possible to do with the UI manually.

Implementation options This nebraska-cli tool would use the Nebraska REST API. Maybe it's worth investigating whether re-implementing Nebraska's API implementation with echo is a good idea. We should also pay attention to version the API and ideally we'll also have a pkg that abstracts the API calls.

Additional information This is related to #196 . cc/ @vbatts

joaquimrocha avatar Apr 16 '21 09:04 joaquimrocha

A first step could be to check what actions already work with https://github.com/kinvolk/updateservicectl?

pothos avatar Apr 16 '21 09:04 pothos

I think @vbatts took a deeper look and agreed it makes sense to have the tool as part of Nebraska.

joaquimrocha avatar Apr 16 '21 10:04 joaquimrocha