Project: datamanagement
Issue DM-4236: Specify default output location for CmdLineTasks
When neither {{\--output}} or {{\--rerun}} is specified as an argument to a {{CmdLineTask}}, any output from that task appears to be written back to the input repository. Note the use of the term "appears": from a preliminary inspection of the code and documentation, it's not clear if this behaviour can be overridden e.g. by environment variables. The HSC stack behaves differently, using {{$INPUT/rerun/$USER}} as a default output location. A [brief discussion|https://community.lsst.org/t/new-argument-parser-behavior-rerun-flag-introduction-discussion/345] suggests that this is the preferred behaviour. Please update the LSST stack to match the HSC behaviour.
Story points: 2