Thank you Merlin Fisher-Levine for reviewing and testing. Merged to master.
For future reference, the DM-5902 workaround was added only for using raw with the object key. It can be used in Merlin's example such as:
constructBias.py repo/root --id object='DomeFlat-g40' .....
The workaround is not added for the proposal key but DM-5902 will solve that. Before it's
solve, an error like below is expected when running CmdLineTasks with --id proposal=abc
error: "Unrecognized ID key 'proposal'; valid keys are: ['ccdnum', u'date', u'filter', u'hdu', 'object', u'visit']"
Merlin Fisher-Levine has an idea of writing a translate method which, for example, allows --id object='DomeFlat' to select any file with DomeFlat-* in its OBJECT header. I leave that to his future ticket.