Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0.0.RC4
    • Component/s: @ ROO SHELL
    • Labels:
      None

      Description

      It would be nice to be able to get help (about an option) mid-command.

      At the moment, I can do a 'help controller' to see the options available for the controller command, but there's no way to get help once I've started type.

      If I could, say type:
      roo> controller class --name foo.web.FooController --preferredMapping <tab> and have roo explain what --preferredMapping is, that would be nice. (It just shell beeps atm)

        Issue Links

          Activity

          Hide
          Ben Alex added a comment - - edited

          Added to SVN revision 459.

          Whenever you have identified a particular option and you ask for tab completions, the first time you do that the shell will provide you online help. To exemplify continuing the command sample given in the request above:

          roo> controller class --name foo.web.FooController --preferredMapping
          optional --preferredMapping: Indicates a specific request mapping path for this controller (eg /foo/); no default value

          Note the "optional" may sometimes say "required". Also, if there are default values, these will be given at the end of the help text. This should keep it relatively easy for people to read. It also doesn't repeat each time someone hits TAB for the same option, saving screen real estate.

          Show
          Ben Alex added a comment - - edited Added to SVN revision 459. Whenever you have identified a particular option and you ask for tab completions, the first time you do that the shell will provide you online help. To exemplify continuing the command sample given in the request above: roo> controller class --name foo.web.FooController --preferredMapping optional --preferredMapping: Indicates a specific request mapping path for this controller (eg /foo/); no default value Note the "optional" may sometimes say "required". Also, if there are default values, these will be given at the end of the help text. This should keep it relatively easy for people to read. It also doesn't repeat each time someone hits TAB for the same option, saving screen real estate.

            People

            • Assignee:
              Ben Alex
              Reporter:
              Haikal Saadh
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: