Giter VIP home page Giter VIP logo

no-nonsense-options's People

Contributors

vitling avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

no-nonsense-options's Issues

Mechanisms for more useful usage text

I see two main areas to improve

  1. Allow FieldParsers to be self-describing, so they can give hints as to the format in which they expect input.
  2. Field-level annotations to add a wordier description.

I'd say (1) is highest priority, as it creates benefit for the general case; whereas (2) increases the complexity of the API and only helps in specific cases. Both should probably be possible though.

Add support for *nix shell style file varargs

There is currently no way to pass through "main parameter" varargs, as might be expanded from a shell wildcard like "*.txt".

Possible mechanisms include:

  • A magic-named parameter which implies it'll take all the remaining args and parse them into a Seq
  • Allowing arbitrary varags by the possibility of multiple values for each --
  • Specialisation of the last arg at the type level by special-casing Seq[T] :: HNil
  • Annotation to suggest that a field should accept the "everything else" varargs.

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.