Coder Social home page Coder Social logo

Comments (7)

cbetta avatar cbetta commented on May 28, 2024 1

I had not even noticed this issue wasn't on the CLI project. Let's close this one and re-open on the CLI library.

from vonage-node-sdk.

cbetta avatar cbetta commented on May 28, 2024

@ramzeaslan great idea. Would the host url be a full url, or just a domain, or also a port? Would this url be predictable? If so can we just do nexmo balance --host dev?

from vonage-node-sdk.

leggetter avatar leggetter commented on May 28, 2024

@cbetta I think it'll be a host, probably including scheme e.g. http://internal-api.nexmo.com

from vonage-node-sdk.

ramzeaslan avatar ramzeaslan commented on May 28, 2024

@leggetter and @cbetta , I reckon having the full host makes the most sense, otherwise we are restricting ourselves and as such are less future proof.

Another alternative which is worth considering is that as part of the setup of the Nexmo CLI you are required to set your API key and Secret, what if you also set your env as part of the setup?

Thanks

from vonage-node-sdk.

cbetta avatar cbetta commented on May 28, 2024

@ramzeaslan interesting. Does make things easier to use. Let me think about it.

from vonage-node-sdk.

leggetter avatar leggetter commented on May 28, 2024

It feels like we're moving more towards a per-project config rather than global config that you'll have to change as you move between environments.

IMO Nexmo/nexmo-cli#109 could be a related to this. How nexmo-node enables it is a good question. But this discussion is really related to the CLI rather than nexmo-node.

To enable this we just need to make the host configurable within nexmo-node.

from vonage-node-sdk.

cbetta avatar cbetta commented on May 28, 2024

Closing, have opened Nexmo/nexmo-cli#114 instead.

from vonage-node-sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.