mesg-foundation / js-sdk

Javascript mono-repo with all the tools to interact with MESG
https://mesg.com
4 stars 4 forks source link

Add flags to set different engine hostname and port #105

Closed NicolasMahe closed 4 years ago

NicolasMahe commented 5 years ago

It is not yet possible to use another Engine that the one running on localhost:50052 (expect with docker, but still port 50052). We should add global flags to do this. @antho1404 suggests to also set the default value of those flag based on env.

krhubert commented 5 years ago

It would be a nice feature for testing multiple instances of engines, when we have a working cosmos app.

@antho1404 suggests to also set the default value of those flag based on env.

I would rather keep it as a flag (or maybe file config passed as path flag if we want to set more then a port?), because cli only uses flag for now.