You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is how curl works. This would be a nice-to-have addition because this way you can do things like:
dp2 results --zipped myjob | unzip
This is a lame example because you can accomplish exactly the same with dp2 results myjob. But if the CLI would support downloading single files, not only ZIPs, it would open up more useful possibilities.
What's not so nice is that when you accidentally forget the --output argument you get a lot of output in your terminal, and in case of a ZIP, a lot of binary output. So maybe a better idea would be to do it the wget way, namely support - as your output file:
dp2 results --zipped --output - myjob
Currently this simply creates a ZIP file named "-". With the desired behavior the --zipped argument becomes redundant.
The text was updated successfully, but these errors were encountered:
This is how curl works. This would be a nice-to-have addition because this way you can do things like:
This is a lame example because you can accomplish exactly the same with
dp2 results myjob
. But if the CLI would support downloading single files, not only ZIPs, it would open up more useful possibilities.What's not so nice is that when you accidentally forget the --output argument you get a lot of output in your terminal, and in case of a ZIP, a lot of binary output. So maybe a better idea would be to do it the wget way, namely support
-
as your output file:Currently this simply creates a ZIP file named "-". With the desired behavior the
--zipped
argument becomes redundant.The text was updated successfully, but these errors were encountered: