Re: [Koha-devel] Proposal for a new coding guideline for command line scripts

2012-07-25 Thread Ian Walls
+1 Ian On Jul 25, 2012 3:07 AM, "Julian Maurice" wrote: > Le 24/07/2012 18:06, Robin Sheat a écrit : > >> Op 24-07-12 18:02, Paul Poulain schreef: >> >>> Do we agree it's a good idea to request that for future scripts, and add >>> this in the coding guidelines ? >>> >> >> I find this also makes

Re: [Koha-devel] Proposal for a new coding guideline for command line scripts

2012-07-25 Thread Julian Maurice
Le 24/07/2012 18:06, Robin Sheat a écrit : Op 24-07-12 18:02, Paul Poulain schreef: Do we agree it's a good idea to request that for future scripts, and add this in the coding guidelines ? I find this also makes it very easy to have short '--help' output, and longer '--manual' output. Robin.

Re: [Koha-devel] Proposal for a new coding guideline for command line scripts

2012-07-24 Thread Chris Nighswonger
+1 Kind Regards, Chris On Tue, Jul 24, 2012 at 12:02 PM, Paul Poulain wrote: > Hello koha-devel, > > I just pushed a few minuts ago a new script in misc (bug 8376, but it > doesn't matter for this mail) > > This script has a help that is displayed when you run it with -h. So far > so good. > >

Re: [Koha-devel] Proposal for a new coding guideline for command line scripts

2012-07-24 Thread Kyle Hall
Sounds good to me. Kyle http://www.kylehall.info ByWater Solutions ( http://bywatersolutions.com ) Meadville Public Library ( http://www.meadvillelibrary.org ) Crawford County Federated Library System ( http://www.ccfls.org ) Mill Run Technology Solutions ( http://millruntech.com ) On Tue, Jul

Re: [Koha-devel] Proposal for a new coding guideline for command line scripts

2012-07-24 Thread Brendan Gallagher
+1 Brendan On Tue, Jul 24, 2012 at 1:09 PM, Chris Cormack wrote: > +1 > > Chris > On Jul 25, 2012 4:02 AM, "Paul Poulain" wrote: > >> Hello koha-devel, >> >> I just pushed a few minuts ago a new script in misc (bug 8376, but it >> doesn't matter for this mail) >> >> This script has a help that

Re: [Koha-devel] Proposal for a new coding guideline for command line scripts

2012-07-24 Thread Chris Cormack
+1 Chris On Jul 25, 2012 4:02 AM, "Paul Poulain" wrote: > Hello koha-devel, > > I just pushed a few minuts ago a new script in misc (bug 8376, but it > doesn't matter for this mail) > > This script has a help that is displayed when you run it with -h. So far > so good. > > BUT, it has no PODDOC.

Re: [Koha-devel] Proposal for a new coding guideline for command line scripts

2012-07-24 Thread Claire Hernandez
On 24/07/2012 18:02, Paul Poulain wrote: This script has a help that is displayed when you run it with -h. So far so good. Do we agree it's a good idea to request that for future scripts, and add this in the coding guidelines ? Of course yes for: - (-h|--help) - maybe -v|--verbose if needed C

Re: [Koha-devel] Proposal for a new coding guideline for command line scripts

2012-07-24 Thread Robin Sheat
Op 24-07-12 18:02, Paul Poulain schreef: > Do we agree it's a good idea to request that for future scripts, and add > this in the coding guidelines ? I find this also makes it very easy to have short '--help' output, and longer '--manual' output. Robin. -- Robin Sheat Catalyst IT Ltd. ✆ +64 4 8

Re: [Koha-devel] Proposal for a new coding guideline for command line scripts

2012-07-24 Thread Jared Camins-Esakov
Paul, > I just pushed a few minuts ago a new script in misc (bug 8376, but it > doesn't matter for this mail) > > This script has a help that is displayed when you run it with -h. So far > so good. > > BUT, it has no PODDOC. Not so good. > > I've discovered recently that we could use: > > use Pod

[Koha-devel] Proposal for a new coding guideline for command line scripts

2012-07-24 Thread Paul Poulain
Hello koha-devel, I just pushed a few minuts ago a new script in misc (bug 8376, but it doesn't matter for this mail) This script has a help that is displayed when you run it with -h. So far so good. BUT, it has no PODDOC. Not so good. I've discovered recently that we could use: > use Pod::Usag