EzequielM Posted July 11, 2011 Share Posted July 11, 2011 (edited) Just finishing up this project, basically a dynamic interface for command line executables that builds itself according to the commands, options, optionTypes, and option default values espeficied in a xml file. Sort of like "a gui to rul'em all", it turned out to be quite a time saver. Specially when threading (tdlmake), building up commands to execute in the console with default activated arguments and values, etc (for shaderdl, ptcfilter, merge etc), and handy as it runs inside houdini maya and as standalone. I plan to upload it soon after a little extra testing, and i was just wondering i might add some extra functionalities before releasing it Whatd you guys find useful in a interface like this? whatd you want it to have? Whats the thing you cant live without when cmding on a console? simple input/ouput? wildcards? regex? pipes? redirects? Edited July 11, 2011 by EzequielM Quote Link to comment Share on other sites More sharing options...
Erik_JE Posted July 11, 2011 Share Posted July 11, 2011 Most important for me when it comes to CLI programs is too be able too: *Send needed arguments to the program so it can run silently if that is what i wan't too *Pipe the output into awk or sed or something to reformat it for my specific needs *Point the output to whatever file for logging and later debugging Sounds like an interesting project. Ill be watching the thread. Quote Link to comment Share on other sites More sharing options...
EzequielM Posted July 13, 2011 Author Share Posted July 13, 2011 (edited) never considered awk or sed until now, good one What do you pipe to sed? the plain simple stdout? Would it be possible for you to send me any example stream you feed sed with from another command or how you pipe it? Im finishing up some details and ill package it with a complete 3delight/houdini cmd xml schema for testing. Houdini commands tested but not completely described in the xml yet. Its getting harder and harder to work late in this when is a sunny uk summer outside!!! Edited July 13, 2011 by EzequielM Quote Link to comment Share on other sites More sharing options...
Erik_JE Posted July 13, 2011 Share Posted July 13, 2011 There are numerous ways to get inputdata for sed, stdout and a pipe is one. I mostly use sed for regular IT admin stuff. It's nice to be able to write a regexp grabbing only relevant output from a program and outputting it the way you want. In Sweden it just rains and rains. I get nothing done anyways tho as i make up for the productive weather by being sick instead. Quote Link to comment Share on other sites More sharing options...
lisux Posted July 13, 2011 Share Posted July 13, 2011 Most important for me when it comes to CLI programs is too be able too: *Send needed arguments to the program so it can run silently if that is what i wan't too *Pipe the output into awk or sed or something to reformat it for my specific needs *Point the output to whatever file for logging and later debugging Sounds like an interesting project. Ill be watching the thread. I haven't use awk too much, but sed is soo cool to folter text. The UNIX way! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.