Details
-
Type:
Story
-
Status: To Do
-
Resolution: Unresolved
-
Fix Version/s: None
-
Component/s: daf_butler
-
Labels:
-
Sprint:DB_S21_12, DB_F21_06, DB_S22_12
-
Team:Ops Middleware
-
Urgent?:No
Description
This will be a tricky command-line interface to write, because this method actually returns a context manager with an object with additional methods that must be called (with the outputs of Registry.queryDatasets and Registry.queryDataIds, usually) in order to actually do anything.
I don't think we should ever try to capture all of the flexibility of that Python interface on the command-line, but there are a few common cases that we should try to support, such as exporting all datasets from a list of collections. Part of the work of this ticket is gathering input on what those common cases really are.
Attachments
Issue Links
- relates to
-
DM-21898 Create command-line tools for Gen3 repo administration
- Won't Fix
butler export dimension-data isn't implemented yet;
Tim Jenness, Jim Bosch I'd like to get feedback on what I've done so far (at least a
/
on the way it's working so far), and then proceed, or backtrack. I've pushed all the changes to the ticket branch, so you can pull it down and play with it if you'd like.