Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Creating NCurses wrappers for existing scripts

by samwyse (Scribe)
on Mar 27, 2013 at 20:34 UTC ( #1025811=perlquestion: print w/ replies, xml ) Need Help??
samwyse has asked for the wisdom of the Perl Monks concerning the following question:

My customer has a bunch of Perl command line scripts. They all are used like this: "myscript -a arg -b -c arg,arg". Each script has a distinct set of flags which can take zero, one or many arguments; generally there are no other parameters. So that these can be used by people with less training, I have been asked to create curses-based wrappers for these scripts that will look like this:

myscript description option a: __________ option b: [ ] option c: __________ __________ __________ [OK] [Cancel]

Can anyone point me to something that will help me churn these out quickly, preferably using a simple config file for each script? Thanks!

Comment on Creating NCurses wrappers for existing scripts
Download Code
Re: Creating NCurses wrappers for existing scripts
by Khen1950fx (Canon) on Mar 28, 2013 at 01:12 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1025811]
Approved by ww
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2014-12-28 23:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (183 votes), past polls