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.
Show HN: Derulo, a tool for manipulating JSON files
11–20 of 23 posts
Re: Show HN: Derulo, a tool for manipulating JSON files
#12Re: Show HN: Derulo, a tool for manipulating JSON files
#13Re: Show HN: Derulo, a tool for manipulating JSON files
#14Re: Show HN: Derulo, a tool for manipulating JSON files
#15The 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
#16The 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
#17If Jason Derulo finds out about this, he might sue :P There was an instance with Kanye West and the altcoin Coineye which he destroyed.
Re: Show HN: Derulo, a tool for manipulating JSON files
#18Re: Show HN: Derulo, a tool for manipulating JSON files
#19Re: Show HN: Derulo, a tool for manipulating JSON files
#20The 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.