adobe / adobe-dx

A toolkit for AEM to help build exceptional digital experiences.
Apache License 2.0
35 stars 33 forks source link

refactor pipe script and improve debug mode #201

Closed lukdz closed 1 year ago

lukdz commented 1 year ago

Description

Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

Checklist:

npeltier commented 1 year ago

can you please show examples of what the output is?

npeltier commented 1 year ago

(and good morning, thanks a lot for that contribution :p i forgot to be polite!)

lukdz commented 1 year ago

Hi,

Example of execution of pipe with identical arguments but different debug implementation:

echo doesn't show where pipe_cmd argument starts and ends; user doesn't know if /jcr:root... is interpreted as a part of pipe_cmd or the next curl argument image

set -x with single quotes show where pipe_cmd argument starts and ends; user does know that /jcr:root... is interpreted as a part of pipe_cmd image

lukdz commented 1 year ago

bump

lukdz commented 1 year ago

Thank you for approval.