Uploaded image for project: 'CommandBox'
  1. COMMANDBOX-902

Allow box to be called with a single string containing a command chain

    Details

    • Type: Improvement
    • Status: Resolved (View workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.4.0
    • Fix Version/s: 4.5.0
    • Component/s: None
    • Labels:
      None

      Description

      This doesn't work on Windows:

      box "version --loader | grep lo"
      

      As the entire arg is taken as a single token and not tokenized again. The workaround is:

      box version --loader "|" grep lo
      

      But it would be nice if the first example work out of the box. Detect if the incoming args array to box has a single item and that item has a space in it. If so, tokenize the single item into an array.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                bradwood Brad Wood
                Reporter:
                bradwood Brad Wood
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: