Live data from Hacker News

Show HN: Derulo, a tool for manipulating JSON files

github.com

11–20 of 23 posts

Re: Show HN: Derulo, a tool for manipulating JSON files

#11
post #10
post #8

How are you supposed to exit the REPL? I end up with empty braces in the file. ~ ❯❯❯ derulo hello Entering Derulo interactive JSON builder. prompt: key: foo prompt: value: bar prompt: key: % ~ ❯❯❯ cat hello.json {}%

Yeah, as a quick hack I made it so typing 'end' for a key or value exits it. This is obviously a valid key or value though, so something else is needed. Maybe some control sequence would work? Not sure how you handle those in Node.

Fixed now. Just type Ctrl-C. Thanks for the report.

Re: Show HN: Derulo, a tool for manipulating JSON files

#13
post #7

This is the funnest thing I've seen in weeks in regards to tech. Nice job. And looks like a nice tool too.

Why is everyone saying this is funny? I don't get it.

He actually said it's the funnest, not funniest. I'm not sure which he meant though.

Re: Show HN: Derulo, a tool for manipulating JSON files

#15
The name is funny, but after a minute of clicking around the repo I'm still not sure what this actually does.

The linked help text for your `Usage Examples` isn't very helpful either.

How about an animated gif of you... adding multiple key-value pairs to be written to the file?

Re: Show HN: Derulo, a tool for manipulating JSON files

#16

The name is funny, but after a minute of clicking around the repo I'm still not sure what this actually does. The linked help text for your `Usage Examples` isn't very helpful either. How about an animated gif of you... adding multiple key-value pairs to be written to the file?

Nice idea. That could definitely explain things faster than a description of it. I'll make one this afternoon.

Re: Show HN: Derulo, a tool for manipulating JSON files

#20
post #16

The name is funny, but after a minute of clicking around the repo I'm still not sure what this actually does. The linked help text for your `Usage Examples` isn't very helpful either. How about an animated gif of you... adding multiple key-value pairs to be written to the file?

Nice idea. That could definitely explain things faster than a description of it. I'll make one this afternoon.

Understood immediately when I saw it, thanks to that!
Post reply on HN