2 ms·
Why JSON? Just use a simplified subset of HTML and ignore styling+scripts for commandline. And for GUI/Web you can still offer the full HTML+CSS+Scripting-exper
by slightwinder 5y ago
Why JSON? Just use a simplified subset of HTML and ignore styling+scripts for commandline. And for GUI/Web you can still offer the full HTML+CSS+Scripting-experience.
- flixic 5y agoCan be XML as well, but I think HTML is too complex. The goal, for me, is simplicity. <section name="Options"><checkbox flag="c" label="Compile" /></section> It shouldn't be a hassle at all to convert a man page to a UI that speeds up actions and avoids common errors. Anyway, this idea is free, so feel free to take it and do whatever, even full HTML (:
- slightwinder 5y agoI don't see how yet another ui-definition-format will help to make things simpler. And what UI does a manpage need? Manpages are documents, they have no real ui.
- jjnoakes 5y agoI think op meant covering a man page for a command into a gui for the command, not into a gui for the man page.
- jonny_eh 5y ago> HTML is too complex The suggestion was a simplified subset of HTML.
- jhgb 5y agoSounds a bit like Sciter, then.