Earlier quoted context omitted.
With a REST API you can call from curl !?
Yes, good idea ..! At our workplace, we have whole bunch of administration tool running on unix CLIs. I am thinking of way by which having same experience in browser based apps ..!
Gooey: Turn command line programs into GUI applications
21–30 of 76 posts
Re: Gooey: Turn command line programs into GUI applications
#22Re: Gooey: Turn command line programs into GUI applications
#23Really awesome and promising idea, but I think the implementation is limiting. Couldn't it just as well parse help text? It's not guaranteed to be standard, but there are probably more programs that can be parsed that way than use ArgumentParser.
I'm not totally sure how I could get that level of detail without forcing some kind of markup within the help messages. I'm totally open to ideas (and pull requests) though! :)
Re: Gooey: Turn command line programs into GUI applications
#24Good idea. I wonder if anyone has done this for general unix command-line apps by parsing out the man pages on the fly. It probably wouldn't work for all programs but may be gnu style ones would be consistent enough.
Re: Gooey: Turn command line programs into GUI applications
#25Good idea. I wonder if anyone has done this for general unix command-line apps by parsing out the man pages on the fly. It probably wouldn't work for all programs but may be gnu style ones would be consistent enough.
I too was expecting something like what you describe but by parsing -h --help output.
The gui could have labels with the command options, and upon hitting enter they could close and send the command back to the command line, so you're learning the commands as you go.
Re: Gooey: Turn command line programs into GUI applications
#26I like it! How about an Open/Save button to choose files for stdin/stdout?
Re: Gooey: Turn command line programs into GUI applications
#27Earlier quoted context omitted.
Yes, good idea ..! At our workplace, we have whole bunch of administration tool running on unix CLIs. I am thinking of way by which having same experience in browser based apps ..!
I'm doing an application that runs scripts for a REST API. Using Django REST API to build the service.
Re: Gooey: Turn command line programs into GUI applications
#28Re: Gooey: Turn command line programs into GUI applications
#29Re: Gooey: Turn command line programs into GUI applications
#30Good idea. I wonder if anyone has done this for general unix command-line apps by parsing out the man pages on the fly. It probably wouldn't work for all programs but may be gnu style ones would be consistent enough.
Once to create a TkInter GUI for an internal command line app, and once to wrap sg3_utils for use in Python scripts.
In general, I think it could "mostly work" a good portion of the time, but it'd be pretty difficult to get working 100% of the time without a lot of tweaking to the parser.