Skip to content
This repository has been archived by the owner on Dec 5, 2019. It is now read-only.

Pacto Server CLI commands in readme do not exist #185

Open
elimydlarz opened this issue May 17, 2016 · 0 comments
Open

Pacto Server CLI commands in readme do not exist #185

elimydlarz opened this issue May 17, 2016 · 0 comments

Comments

@elimydlarz
Copy link

In this part of the readme the following commands are documented:

$ bundle exec pacto-server -sv --generate
# Runs a server that will generate Contracts for each request received
$ bundle exec pacto-server -sv --stub --validate
# Runs the server that provides stubs and checks them against Contracts
$ bundle exec pacto-server -sv --live --validate --host
# Runs the server that acts as a proxy to http://example.com, validating each request/response against a Contract

However, running these commands is not successful:

$ bundle exec pacto-server -sv --generate
I, [2016-05-17T22:06:03.540188 #11442]  INFO -- : Celluloid 0.17.3 is running in BACKPORTED mode. [ http://git.io/vJf3J ]
Could not find command "_sv".

If I run the help command, I see that a wholly different list of commands is available, which has no overlap with the examples documented:

$ bundle exec pacto-server help
I, [2016-05-17T22:06:45.271517 #11454]  INFO -- : Celluloid 0.17.3 is running in BACKPORTED mode. [ http://git.io/vJf3J ]
Commands:
  pacto-server help [COMMAND]        # Describe available commands or one specific command
  pacto-server proxy [CONTRACTS...]  # Launches an intercepting proxy server for a set of contracts
  pacto-server stub [CONTRACTS...]   # Launches a stub server for a set of contracts

And I don't seem to be able to get these working, anyway =(

Can somebody clarify what commands are actually available and how to use them? I'd like to try out Pacto in a polyglot environment but this is discouraging.

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

1 participant