Open harobed opened 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)
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
.
@Theaxiom not sure what you mean about consul cli
. The cli commands of consul doesn't match all API endpoints AFAIK
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?
@shamil do you have a list of some of the commands that are not supported by the official consul cli
project?
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
So, that being said, what needs to happen to make this project compilable again?
So, that being said, what needs to happen to make this project compilable again?
@Theaxiom #63 fixes compilation issues and moved to go modules...
Hi,
I see that
consul
have build-in cli from version0.7.1
(10 Nov 2016).Example, I use
consul-cli kv bulkload
which isconsul kv import
in Consul cli.My suggestion:
consul-cli
statusconsul-cli
and official consul cliNote:
consul kv import
has not--prefix
supportBest regards, Stéphane