Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Activity (RSS)

Thursday, March 26 2009
7 Sub-command options inherit globals was updated
22 Abstract out #seperate_switches_from_description was updated
  • TJ Holowaychuk
    • State changed from new to resolved
    by TJ Holowaychuk at 3:55 PM
  • TJ Holowaychuk
    TJ Holowaychuk created the ticket at 3:54 PM

    This is a globally useful command, and is required in the runner to make some of these other changes so it should be abstracted from Commander::Command

21 FeatureRequest: remove program name requirement was updated
  • TJ Holowaychuk
    • Tag changed from featurerequest to feature_request
    • Milestone set to 4.0
    by TJ Holowaychuk at 3:25 PM

    Dope, I like it.

  • commander_fan
    commander_fan created the ticket at 6:03 AM

    Remove the requirement to specify the program name.

    program :name, 'Foo Bar'

    With a change to Commander::Runner

    
        def program_defaults
          return :help_...
20 FeatureRequest: config file support was updated
  • TJ Holowaychuk
    • Tag changed from config, featurerequest to config, feature_request, options
    by TJ Holowaychuk at 3:24 PM

    I think there is a ticket for --config already, but I like the additional info here. One thing I want to be careful with is cluttering EVERY executable with to ...

  • commander_fan
    • Tag set to config, featurerequest
    by commander_fan at 5:54 AM
  • commander_fan
    commander_fan created the ticket at 5:50 AM

    It'd be handy if commander also looked after config files.

    eg.

    
    $ commander --configure-list
    Reading config file ~/.commander/commanderrc ...
    
      verbose = ...
19 Bug: global_option override help was updated
  • TJ Holowaychuk
    TJ Holowaychuk commented at 5:12 AM

    Hmm I didnt think of that. I will take a look and see if it wont be much trouble to allow alteration of global messages while retaining their default functional...

  • commander_fan
    commander_fan created the ticket at 4:09 AM

    Release: 3.1.8

    The global default option appearing in the help message can't be overriden.

    
    global_option '--help', "Tell you stuff you don't know"
    

    GLOBAL ...

18 Bug: global_option short and long missing in help was updated
  • TJ Holowaychuk
    TJ Holowaychuk commented at 5:02 AM

    Ah yes, I am aware of this and forgot to create a ticket thank you! I will abstract the same functionality that Commander::Command uses for this

  • commander_fan
    • Tag changed from bug, options to 3.1.8, bug, options
    by commander_fan at 4:04 AM
  • commander_fan
    commander_fan created the ticket at 4:02 AM

    Release: 3.1.8

    When the global_option is used only the first format of the option is shown in the help. (ie. it doesn't show both the short and the long formats...

15 Regexp matching of command names was updated
  • TJ Holowaychuk
    • Tag changed from crazies to ideas
    by TJ Holowaychuk at 5:00 AM

    Haha sorry just having some fun :), 'brainstorming' or 'ideas' would be a more appropriate tag haha..

    As for the use-case for regexp matching I am having a hard...

  • commander_fan
    commander_fan commented at 3:58 AM

    Useful - yes. IMHO, anything that shifts work from the user to the command is a good thing.

    (BTW what's with the "crazies"?)

Wednesday, March 25 2009
17 Better BasicObject for Options was created
  • TJ Holowaychuk
    TJ Holowaychuk created the ticket at 10:57 PM

    What we have is not good enough, need to use BlankSlate or equiv when methods are added to Object etc

16 Ensure STDERR on failures was updated
14 Fix global trapping of INT was updated
Tuesday, March 24 2009
16 Ensure STDERR on failures was created
  • TJ Holowaychuk
    TJ Holowaychuk created the ticket at 11:41 PM

    I think some are using #say, which print to STDOUT

14 Fix global trapping of INT was updated
  • TJ Holowaychuk
    • Tag set to bug
    by TJ Holowaychuk at 11:28 PM
  • TJ Holowaychuk
    TJ Holowaychuk created the ticket at 11:03 PM

    Currently the following outputs due to the new exception rescuing:

    
    Process interrupted
    error: 
    Process interrupted. Use --trace to view backtrace
    
15 Regexp matching of command names was updated
13 Reverse #when_called param order was created
  • TJ Holowaychuk
    TJ Holowaychuk created the ticket at 11:01 PM

    Consider changing when_called so that |args, options| becomes |options, a, b, c| etc so that Ruby 1.9 users can take advantage of expanding args with 1.9.x para...

12 Migration docs was created
  • TJ Holowaychuk
    TJ Holowaychuk created the ticket at 10:59 PM

    Start migration from version -> version docs

11 commander/import was created
  • TJ Holowaychuk
    TJ Holowaychuk created the ticket at 10:58 PM

    Require that devs explicitly require 'commander/import' which in turn imports highline as well .. otherwise require 'commander' for access to commands for testi...

10 Global --options was created
  • TJ Holowaychuk
    TJ Holowaychuk created the ticket at 10:55 PM

    Load options from a file much like spec.opts stores theirs.

9 Help Paging was created
  • TJ Holowaychuk
    TJ Holowaychuk created the ticket at 10:54 PM

    Clean up Highline paging (its ugly) and use it to act much like less

8 Update command site was created
  • TJ Holowaychuk
    TJ Holowaychuk created the ticket at 10:53 PM

    Finish / add more documentation on the github page(s) for commander.

7 Sub-command options inherit globals was created
  • TJ Holowaychuk
    TJ Holowaychuk created the ticket at 10:52 PM

    Perhaps sub-command options should inherit the globals, in cases such as --verbose this would prevent the need to do things like:

    
    global_option('--verbose'){...
6 Consider global #color method again was created
  • TJ Holowaychuk
    TJ Holowaychuk created the ticket at 10:49 PM

    Will help clean things up a bit since the formatters must use $terminal.color

5 Compact formatter was created
  • TJ Holowaychuk
    TJ Holowaychuk created the ticket at 10:48 PM

    Alternative to the default ASCII terminal formatter, have a compact one similar to gem help

4 Add arbitrary help blocks to sub-commands was created
  • TJ Holowaychuk
    TJ Holowaychuk created the ticket at 10:47 PM

    Allow these just like the main command itself can have arbitrary help blocks

3 Prevent global options from overriding sub-command level options was created
  • TJ Holowaychuk
    TJ Holowaychuk created the ticket at 10:46 PM

    Although in most cases this is most likely not an issue, it would be nice to have the ability to override these at a sub-command level.

2 1.9.x compatibility was created
  • TJ Holowaychuk
    TJ Holowaychuk created the ticket at 10:45 PM

    Ensure everything is good to go for 1.9.x :)

1 Add inspect back to Command::Options was created
  • TJ Holowaychuk
    TJ Holowaychuk created the ticket at 10:41 PM

    It is sometimes hard to debug options when you cant inspect them! although this would mean users may not use --inspect as a switch.

4.0 was updated by TJ Holowaychuk at 10:40 PM 1 more event
 
26 of 44 tickets remain in this milestone
Wednesday, March 18 2009
Home was created by TJ Holowaychuk in Commander at 9:31 PM