Plexus Utils
  1. Plexus Utils
  2. PLXUTILS-147

Support custom quoting strategies in Plexus CLI

    Details

    • Type: Improvement Improvement
    • Status: Open Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.5.11
    • Fix Version/s: None
    • Labels:
      None
    • Number of attachments :
      0

      Description

      I need to change the quoting of an argument from "/x:a b c" to /x:"a b c".

      Currently this is quite complicated to achieve using Plexus Utils.

      If StringUtils.quoteAndEscape in org.codehaus.plexus.util.cli.shell.Shell#getRawCommandLine was exchangable with a custom implementation through an interface, that would be wonderfully possible, without much hassle.

      What do you think? I'd be happy to provide a patch, if it had a chance to be applied.

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            Lars Corneliussen
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: