mantl / consul-cli

Command line interface to Consul HTTP API
Apache License 2.0
251 stars 67 forks source link

README.md suggestion (add project status, link to offcial consul cli and consul-cli vs official consul cli) #58

Open harobed opened 6 years ago

harobed commented 6 years ago

Hi,

I see that consul have build-in cli from version 0.7.1 (10 Nov 2016).

Example, I use consul-cli kv bulkload which is consul kv import in Consul cli.

My suggestion:

Note:

Best regards, Stéphane

roffer commented 6 years ago

I agree, just tried to rebuild consul-cli and the consulapi library has diverged causing build errors.

I think I will need to migrate our usage of consul-cli over to consul cli

# github.com/mantl/consul-cli/action
action/check_register.go:69:11: unknown field 'Script' in struct literal of type api.AgentServiceCheck
action/service_register.go:96:5: c.Script undefined (type *api.AgentServiceCheck has no field or method Script)
Theaxiom commented 6 years ago

It seems reasonable to me that this project be deprecated in favor of the official consul cli. This project was developed before there was an official consul cli.

shamil commented 6 years ago

@Theaxiom not sure what you mean about consul cli. The cli commands of consul doesn't match all API endpoints AFAIK

Theaxiom commented 6 years ago

If that is the case, shall we come up with a list of which commands are missing and perhaps re-kindle this project from scratch to fill in the gaps?

Cryptophobia commented 6 years ago

@shamil do you have a list of some of the commands that are not supported by the official consul cli project?

shamil commented 6 years ago

Almost every other API except kv, like agent, catalog, check, session, etc... for full list look here: https://www.consul.io/api/index.html here is the list of what consul-cli can do: https://github.com/mantl/consul-cli/wiki

Theaxiom commented 6 years ago

So, that being said, what needs to happen to make this project compilable again?

shamil commented 4 years ago

So, that being said, what needs to happen to make this project compilable again?

@Theaxiom #63 fixes compilation issues and moved to go modules...