Coffeescript to parse and print JSON elements from command line
Write a command line tool in (literate?) coffeescript to parse and print JSON elements, and make it publicly available as 'jsonselect-shell' on github under an MIT license.
The main task is in combining ready-made, existing modules into a working shell program. We are actually looking to find team members for continuous, long term development tasks; this task is meant to evaluate and qualify potential hires and also as a way for you to evaluate us as your client.
Deliver an npm package, complete with
- README.md documentation showing travis build status
- package.js incl. dependencies etc
- test cases (using should.js)
The tool is going to be publicly visible _and_ will be used in production, so please make it so that you're proud of showing off your coding skills.
If you apply, I'd be very curious to hear your opinion on what the best module for command line options parsing is, and why?
print elements from a JSON file (see http://jsonselect.org/)
jsonselect <selector> [-f file] [-o file]
selector - a css selector (see http://jsonselect.org/)
-?, -h, --help print usage + help options
-f, --file <filename> read JSON data from the file specified; if -f is omitted, use stdin
-o, --output <filename> write the rendered result to the filename specified; if -o is omitted, use stdout
Skills: json, make