Giter Club home page Giter Club logo

Comments (3)

pgoodman avatar pgoodman commented on August 16, 2024 1

Ok I'm sold, but I'd consider this a lower priority task.

from deepstate.

pgoodman avatar pgoodman commented on August 16, 2024

I'm of two minds on this. The reason why I like a Google Flags-like approach to command-line flags is that there is a nice one-to-one correspondence between the command line flag and a global variable in the program.

from deepstate.

ranweiler avatar ranweiler commented on August 16, 2024

Hmm, yeah, I agree that is a useful correspondence for e.g. grepping around the codebase. On the other hand, as a library user, I don't think I benefit much from it, and I sort of expect the library to give me a few key short flags no matter what (-h, -v, &c).

Coming back to this, I still think adding short variants of high-use flags would do a lot for usability (and thus promote adoption), and so it is worth it. We'd also preserve the flag/var name correspondence for long flags, so it isn't a total loss on that front.

from deepstate.

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.