Announcement Announcement Module
Collapse
No announcement yet.
Command files ... a continuation character ... Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Command files ... a continuation character ...

    Is there a "line continuation character" available for commands that are read from file?

    Instead of a single line in the file that is several hundred characters long and difficult to edit ... e.g. a complex Roo Entity or Field command ...

    Code:
    command --parm1 value --parm2 value --parm3 value --parm4 value --parm5 value --parm6 value --parm7 value --parm8 value --parm8 value --parm10 value --parm11 value --parm12 value --parm12 value
    ... the ability to do something like this, at least in my opinion, would be nice and much easier to maintain ...

    Code:
    command --parm1 value ^
            --parm2 value ^
            --parm3 value ^
            --parm4 value ^
            --parm5 value ^
            --parm6 value ^
            --parm7 value ^
            --parm8 value ^
            --parm8 value ^
            --parm10 value ^
            --parm11 value ^
            --parm12 value ^
            --parm12 value
    All the character is doing is "escaping" the line terminator ... which is the command line terminator ... that immediately follows it.

    Arvid

  • #2
    Hi,

    After a quick search around, I don't believe there is such a feature in the shell. I've added it to JIRA so that we can investigate it some more. https://jira.springsource.org/browse/SHL-59

    Cheers,
    Mark

    Comment


    • #3
      Originally posted by Mark Pollack View Post
      Hi,

      After a quick search around, I don't believe there is such a feature in the shell. I've added it to JIRA so that we can investigate it some more. https://jira.springsource.org/browse/SHL-59

      Cheers,
      Mark
      Thanks for considering it. In my opinion it takes the functionality up a significant step from the current "capture and replay" to a "a developer could realistically use it for development even if the commands require a lot of parameters ... like a robust Roo field command".

      I had submitted it as https://jira.springsource.org/browse/SHL-58 some time ago.

      Arvid

      Comment

      Working...
      X