GithubHelp home page GithubHelp logo

Comments (5)

chakming avatar chakming commented on August 24, 2024

i make a hacky one: https://github.com/chakming/grpcc

  1. according to discssion here, grpc usage could be grpc.load({root:'your/root', file: 'your/file'}) which help to load multiple files
  2. if load multiple proto at the same time and those package names are different, we need to have a power to let people choose the package name. I've implemented it with inquirer

from grpcc.

chakming avatar chakming commented on August 24, 2024

you can try the version with the following:

  1. npm install -g git://github.com/chakming/grpcc.git#master so to install a specific npm repo from github
  2. run the command with one more directory (didn't make a default one = pwd yet) with protos under same directory: grpcc --proto helloworld.proto --directory $(pwd) --addess 127.0.0.1:3466 --insecure

from grpcc.

njpatel avatar njpatel commented on August 24, 2024

@chakming nice one! Would you want to do a PR to the main branch? Would love to have this part of a fix-up release I'd like to do by the weekend.

from grpcc.

chakming avatar chakming commented on August 24, 2024

sure i'd love to, just updated to fix the ci tests too

from grpcc.

njpatel avatar njpatel commented on August 24, 2024

I pushed up v0.0.3 to npm just now, with your work included. Thank you!

from grpcc.

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.