create3000 / sunrize

Sunrize — A Multi-Platform X3D Editor
https://create3000.github.io/sunrize/
Other
8 stars 0 forks source link

Use - or -i - on the command-line to send standard input to sunrize #3

Closed coderextreme closed 9 months ago

coderextreme commented 10 months ago

At some point, I’d like to take output from a Java or Python program and pipe it into sunrize, without an intermediate file

My plan is to do

… | npx sunrize -

or

… | npx sunrize -i -

where - is a placeholder which means take input from standard input.

create3000 commented 9 months ago

I do not intend to implement such behaviour, as it is only needed sparingly and a different approach is preferable. You will probably want to save the file later, at least at this time you need a file on your disk.

coderextreme commented 9 months ago

Ok. I plan on modifying view3dscene at some point to do this.

I got excited about the potential.

John

On Sun, Jan 7, 2024 at 3:55 PM Holger Seelig @.***> wrote:

I do not intend to implement such behaviour, as it is only needed sparingly and a different approach is preferable. You will probably want to save the file later, at least at this time you need a file on your disk.

— Reply to this email directly, view it on GitHub https://github.com/create3000/sunrize/issues/3#issuecomment-1880187829, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFMJ53OBF6GXSNOENPFTXDYNMKVLAVCNFSM6AAAAABBJTGYNOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBQGE4DOOBSHE . You are receiving this because you authored the thread.Message ID: @.***>