Results 1 to 3 of 3

Thread: Command files ... a continuation character ...

  1. #1
    Join Date
    Jul 2012
    Posts
    3

    Default 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. #2
    Join Date
    Aug 2004
    Location
    New York, NY
    Posts
    74

    Default

    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

  3. #3
    Join Date
    Jul 2012
    Posts
    3

    Default

    Quote 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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •