Live data from Hacker News

Gooey: Turn command line programs into GUI applications

github.com

71–76 of 76 posts

Re: Gooey: Turn command line programs into GUI applications

#71
post #52

Another app in this vein was Kaptain (for KDE): http://sourceforge.net/projects/kaptain/

That tool lets you describe a context-free grammar for the command line options, and transforms the options into gui elements. Does not require KDE anymore, compiles with Qt only. http://kaptain.sourceforge.net/

That looks useful, particularly the supplied find and grep "grammar scripts". I installed Kaptain from the trusty/universe default Ubuntu repos and got the latest version. Only issue so far is that it installs to /usr/bin/kaptain and so the scripts need to be modified slightly (they expect bin in /usr/local/bin/).

Re: Gooey: Turn command line programs into GUI applications

#72

Earlier quoted context omitted.

Yeesh. The picture in readme is one running a fake program I was using for testing. If you'll notice, none of the options particularly make sense -- heck, the output of the program (shown toward the bottom of the readme) is "printing message at: {hash}" If you take another look at the readme, you'll see that it supports `choice` style params. Which reads in the options available and presents them to the user via a dr…

If you'll notice, none of the options particularly make sense That's why I thought it was wrapping a real Linux command line program. ;) If you're wrapping a CLI, there's not much more you can do than take all the CLI options and shove them into a 1990's style window peppered with options. But it's not helping anything - anyone who knows what the options are and do, and who is not put-off by heaps of options, is like…

Hmm.. Guess we just have different experiences with the user base this is targeting.

Re: Gooey: Turn command line programs into GUI applications

#73
Getting error while generating EXE for my script.

I am using py2exe to convert my script into an executable. but getting following error: File "commandui.py", line 1, in File "gooey\init_.pyc", line 1, in File "gooey\gooey_decorator.pyc", line 16, in File "gooey\gui\base_window.pyc", line 16, in File "gooey\gui\header.pyc", line 10, in File "gooey\i18n.pyc", line 37, in File "gooey\i18n.pyc", line 24, in get_path

IOError: Could not find english language file

Re: Gooey: Turn command line programs into GUI applications

#74

Earlier quoted context omitted.

It's not meant to be a replacement for CLI. I can imagine lots of use cases, even for me. Example: I used something to bulk convert images (resize, crop, convert from one format to another). I used it maybe three times in my life, every single time I had to read the manual. If there was a simple GUI, I'd save time. My main project is a mobile app that has a bunch of calculators dedicated to specific tasks. Some of th…

http://www.irfanview.com/ free image viewer for Windows, has "File" -> "Batch convert / rename" which can crop, resize, convert and so on. I'm surprised you have settled on using a thing you dislike which doesn't work for you, when there are likely dozens or hundreds of wrappers, GUIs, APIs, programs and apps for image bulk editing to choose from.

As I've said, I only needed it a couple of times. Quickly Googled "batch image convert rename linux" or sth like that, saw which tool(s) I can use, checked the man page and I was done. My point was that if it had a simple GUI, I wouldn't have to read the man page.

_Settling_ on a solution indicates that a task is performed more often. In such a case, CLI is perfectly fine, because you learn how to use it while you do it and this knowledge sticks after several uses. I haven't used IrfanView, but I doubt it can compete with all the goodness of the command line.

Post reply on HN