mantl / consul-cli

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

Support for Catalog and Service requests? #2

Closed rberger closed 8 years ago

rberger commented 9 years ago

It would be nice to support the catalog resource so that one could use consul-cli in scripting to get service hostnames and ports. As well as to discover services.

githubber84 commented 9 years ago

I have added support for catalog list apis. Its checked into a forked branch for now (https://github.com/githubber84/consul-cli) and is currently under test. I will be checking it back into master after some basic testing.

ChrisAubuchon commented 9 years ago

@githubber84 Cool! Submit a PR and I'll get it merged in.

sboily commented 9 years ago

+1 @githubber84

msabramo commented 8 years ago

Is this done? consul-cli catalog works in latest version. Or is this referring to something else that isn't present yet?

ChrisAubuchon commented 8 years ago

Lol. Thought I closed this. It is done.