Skip to content
This repository has been archived by the owner on Jul 27, 2023. It is now read-only.

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

Open
harobed opened this issue Aug 12, 2018 · 8 comments

Comments

@harobed
Copy link
Contributor

harobed commented Aug 12, 2018

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:

  • add in README.md:
    • consul-cli status
    • Link to official consul cli
    • The difference between consul-cli and official consul cli

Note:

  • consul kv import has not --prefix support

Best regards,
Stéphane

@roffer
Copy link
Contributor

roffer commented Aug 26, 2018

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
Copy link
Contributor

Theaxiom commented Sep 3, 2018

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
Copy link
Contributor

shamil commented Sep 3, 2018

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

@Theaxiom
Copy link
Contributor

Theaxiom commented Sep 3, 2018

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
Copy link

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

@shamil
Copy link
Contributor

shamil commented Sep 4, 2018

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
Copy link
Contributor

Theaxiom commented Sep 4, 2018

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

@shamil
Copy link
Contributor

shamil commented Feb 27, 2020

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

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants