Remix.run Logo
naikrovek 5 hours ago

I have a command line program at work which outputs json. Pure JSON in all situations.

I thought nushell would be able to make sense of that and display it semi-nicely.

Nushell pukes on it, errors out, and doesn’t even show the output of the command. As far as sins go for a shell, not showing the output of the program it just ran is very high among them.

nushell had its chance with me.

jknutson 5 hours ago | parent [-]

With external commands you might have to collect the output of the program before doing any sort of manipulation. I’ve been got by this before too; the fix is simple (for me at least). `external.exe | collect | from json` et voila

orthoxerox 27 minutes ago | parent [-]

This doesn't look like a pit of success design.

jknutson 24 minutes ago | parent [-]

Well, every shell has its quirks and gotchas. I’ve found nushell’s to be the least intrusive and most workable thus far.