Open johnbradley opened 5 years ago
One option would be to introduce a copy command similar to the aws s3 cli:
aws s3 cp test.txt s3://mybucket/test2.txt
This functions as both upload and download.
https://docs.aws.amazon.com/cli/latest/reference/s3/cp.html#examples.
Instead of s3 we would need a dds prefix. So something like this:
ddsclient copy test.txt dds://myproject/test2.txt
We currently use this dds
prefix to reference files in bespin-cli: https://github.com/Duke-GCB/bespin-cli#user-edits-job-template-file
The
upload
anddownload
commands work from the standpoint of uploading or downloading an entire project. For download there are include and exclude parameters for filtering what is downloaded but it still works for the entire project.