chromium / axiom

Axiom Project
https://chromium.github.io/axiom/web_shell/
Apache License 2.0
53 stars 26 forks source link

Add command line parsing #117

Closed rginda closed 9 years ago

rginda commented 9 years ago

Introduces lib/wash/parse.js, which provides methods for parsing strings, arrays, objects, and command-line strings based on a signature.

Added parse.test.js suite, all tests passing. Closure clean (after locally disabling checks of gdrive code). Hooked up to wash argument parsing.

TODO: piping, redirection, variable interpolation, array/map concatenation.

@rpaquay PTAL

rpaquay commented 9 years ago

lgtm