Closed guiprav closed 9 years ago
I've implemented a pretty brain-dead CLI for personal use, you can see it here: https://github.com/n2liquid/dummy-json/commit/046801a1f31f275a626f72d28b468adc8d4143ca.
I'm thinking I could add options to add custom helpers too, etc. What do you think?
(Sorry for the double-post; I'll edit my previous post next time...)
@n2liquid Thanks, this is a good idea. I'd be more than happy to merge a pull request if you can fix a couple of issues:
dummy-json.cli.js
needs to start with the following hashbang: #!/usr/bin/env node
reportBadArgumentsAndQuit()
doesn't exist and throws an error.Sure, I'll see what I can do later. The code is by no means ready, don't worry :p Thanks.
On Wed, Aug 27, 2014 at 8:07 AM, Matt Sweetman notifications@github.com wrote:
@n2liquid https://github.com/n2liquid Thanks, this is a good idea. I'd be more than happy to merge a pull request if you can fix a couple of issues:
- dummy-json.cli.js needs to start with the following hashbang: #!/usr/bin/env node
- reportBadArgumentsAndQuit() doesn't exist and throws an error.
— Reply to this email directly or view it on GitHub https://github.com/webroo/dummy-json/issues/2#issuecomment-53554960.
Basic cli functionality added in 0.0.3.
It looks like you haven't implemented a command-line interface for this program. I think that would be really useful. Would you like me to implement a proposal CLI? Would you merge it in if it looks good or are you against the idea?
If you're interested, could tell me what you'd like to see in such an interface?
Cheers and thank you for the free-as-in-freedom software :)