dicon icon indicating copy to clipboard operation
dicon copied to clipboard

Improve task execution output

Open lexmag opened this issue 9 years ago • 6 comments

lexmag avatar Feb 09 '16 23:02 lexmag

Can you elaborate on this?

ericmj avatar Mar 20 '17 15:03 ericmj

We should likely improve the output so that for example a prefix with the host is printed before each message is printed on the shell:

$ mix dicon.control stop
==> Connected to example.com
<example.com> ok

or something along those lines. We should also generally give more feedback when running tasks.

whatyouhide avatar Mar 20 '17 15:03 whatyouhide

Right, exactly what @whatyouhide said, also I think we should replace progress-bar with spinner.

lexmag avatar Mar 20 '17 15:03 lexmag

Well, or implement the progress bar correctly so that it doesn't break when terminal is resized :P I like the idea of a progress bar, the only thing we should consider is how to deal with progress bar plus parallel upload of tars if we ever do them.

whatyouhide avatar Mar 20 '17 15:03 whatyouhide

I think printing the host is only interesting if we run commands in parallel on different hosts. Otherwise you get the host from "Connected to example.com" anyway.

ericmj avatar Mar 20 '17 16:03 ericmj

@ericmj the idea is definitely to start running commands in parallel :)

whatyouhide avatar Mar 20 '17 22:03 whatyouhide