brainlife / cli

brainlife.io Command Line Interface (CLI)
https://brainlife.io
MIT License
2 stars 6 forks source link

output while uploading dataset doesn't make sense. #36

Open soichih opened 6 years ago

soichih commented 6 years ago

When I upload a dataset, I get the following output

Waiting for upload task to be ready...
warehouse-cli.upload(soichih/sca-service-noop) in Life       
STATUS: Successfully finished
(460 ms ago)
Dataset successfully uploaded
No validator available for this datatype. Skipping validation.
Registering dataset...
Waiting for dataset to archive...
Done archiving. dataset id:5b9ea7d6f0c12b030210bcdc

The output is hard to understand what's happening, and why it's doing what it's doing. We should update it to show a single and coherent progress bar that includes all 4 steps 1) obtaining upload target, 2) uploading data, 3) running validator, 4) waiting for archiver - and show users which step it's currently in.