<div dir="ltr"><div><div>Hi, I'm working on providing a bash-completion script for koha commands, so we have that handy tool for our commands.<br><br></div>I'm doing this on a per-koha-script basis. For the task I'm revisiting each koha-* command to avoid messing with option switches combinations. I've already found some tiny problems (mostly poor error handling).<br>

<br></div><div>There's an omnibus bug for rewriting those scripts and make them able to recover from errors and handle them gracefuly [1].<br><br></div><div>I'd like you to (1) tell me if its ok that I patch them in bash (which is what they are written in) and (2) if you have the time, discuss here the current and desired semantics for those commands, including the option switches.<br>

<br></div><div>As of (1) I've already started working that way (provided patches for koha-list and koha-enable already[2]). But I will understand I "should have asked first".<br></div><div><br></div><div>Looking for your helpfull response! (and possitive feedback on (1), no pressure heh).<br>

</div><div>To+<br></div><br><br>[1] <a href="http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=4876">http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=4876</a><br>[2] <a href="http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10094">http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10094</a><br>

    <a href="http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10101">http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10101</a><br></div>