Giter VIP home page Giter VIP logo

Comments (4)

kbrandwijk avatar kbrandwijk commented on May 22, 2024 2

Adding more commands to manage configuration

For example, commands to manage endpoints (from #9)

  • graphql endpoint add (with the current add-endpoint as alias for backwards compatibility)
  • graphql endpoint set header
  • graphql endpoint remove header
  • graphql endpoint set url

Also, add the option to ask for or specify headers on add-endpoint/endpoint add.

from graphql-cli.

wtrocki avatar wtrocki commented on May 22, 2024 1

I see that some of the ideas might apply, however it will be better to have them logged as separate issues. Closing but feel free to reopen or create separate issue with idea that our team can implement

from graphql-cli.

kbrandwijk avatar kbrandwijk commented on May 22, 2024

Passing context to commands

The current implementation using a custom handler wrapper to pass in context to the commands. This makes it harder to work with the standard CommandObject interface, and it also makes it harder to test individual commands in isolation.

Yargs offers a standard way of passing context to commands, using the parse function that I think should be used instead of the custom handler wrapper.

from graphql-cli.

iamclaytonray avatar iamclaytonray commented on May 22, 2024

If we add a watch mode, I think it would be good to clear the console before downloading any changes. This helps clear the air on if there are any errors from one download to the next.

from graphql-cli.

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.