bashful icon indicating copy to clipboard operation
bashful copied to clipboard

Support use when no TTY is present

Open wagoodman opened this issue 5 years ago • 3 comments

wagoodman avatar Sep 13 '18 17:09 wagoodman

I don't exactly get this. Is this about showing a normal progress bar instead of the fancy animations in the terminal ? Then this could be useful for CI runs actually 😁

karuppiah7890 avatar Sep 16 '18 13:09 karuppiah7890

@karuppiah7890 Yeah, I meant to write up a description... but essentially, yes, it would be to disable the fancy terminal tricks and just output what is being run. When you run this from the repo root, for instance:

docker run  -v $(pwd)/example:/example -v $(pwd)/scripts:/scripts  -w / karuppiah7890/bashful:latest bashful run example/00-demo.yml

A few artifacts appear. It would be ideal to have the option to eliminate any ansi control character usage entirely when used in a CI setting.

wagoodman avatar Sep 16 '18 22:09 wagoodman

Yeah, you are right. When I tried running it in Gitlab CI with a test repo, the output wasn't very neat as it couldn't get the fancy stuff

karuppiah7890 avatar Sep 17 '18 03:09 karuppiah7890