CLASP - Command-Line Argument Sorting and Parsing - is a suite of libraries for sophisticated parsing of command-line arguments and presenting the parsed elements - flags, options, values - in a usable form. The original C/C++ library was released in 2011; variants for other languages have been released from time to time since.
Of necessity (but also enjoying it), currently I'm building systems in a bunch of different technologies, including Go, Javascript (NodeB), Python, and Ruby. As such, I have new/updated versions of the CLASP variants for these languages:
- CLASP.Go - version 0.11.2 is the first public release. Project page is https://github.com/synesissoftware/CLASP.Go;
- CLASP.js - version 0.2.1 is the first public release, installed via npm install clasp-js. Project page is https://github.com/synesissoftware/CLASP.js;
- CLASP.Python - version 0.3.0.1 is the first public release, installed via pip install pyclasp . Project page is https://github.com/synesissoftware/CLASP.Python;
- CLASP.Ruby - version 0.15.1 is the latest release, installed via gem install clasp-ruby. Project page is https://github.com/synesissoftware/CLASP.Ruby.
Each of the newly-released projects - Go, js, Python - contains (on GitHub) an EXAMPLES.md file, with links to examples. CLASP.Ruby will provide examples in a forthcoming release.
No comments:
Post a Comment