10 votes

Do generic CLI to GUI wrappers exist?

Tags: cli, webp

So I've been messing around with the webp encoder cli tool and I really wish I could quickly achieve a workflow more similar to photoshop's previews. Is there a GUI tool out there where I can specify the arguments for an CLI executable then it lets me adjust the values and run the command. Ideally it would automatically let me view the output file, and define presets would be great.

2 comments

  1. [2]
    Comment deleted by author
    Link
    1. teaearlgraycold
      Link Parent
      The best I can think of would be a DSL of sorts that would need to be manually configured per-application. You could include a cli-to-gui.json file which would be read as a configuration file by...

      The best I can think of would be a DSL of sorts that would need to be manually configured per-application. You could include a cli-to-gui.json file which would be read as a configuration file by the GUI program. It wouldn't be able to handle every application's needs but might do enough to be useful.

      You could use strace to discover files created by a utility, and then present these to the user for them to open.

      1 vote
  2. mozz
    Link
    The closest thing that I can think of is Gooey. It’s pretty awesome, but afaik it only works for python applications and you need to inject it directly into the source code of the script.

    The closest thing that I can think of is Gooey. It’s pretty awesome, but afaik it only works for python applications and you need to inject it directly into the source code of the script.

    1 vote