edward icon indicating copy to clipboard operation
edward copied to clipboard

Print status without formatting if not to terminal

Open jsharps-yext opened this issue 6 years ago • 2 comments

Enables other tools to read the output of edward status

Too bad I didn't see anything to get rid of those pesky padding spaces in my quick investigation

lol account mixup but whatever

jsharps-yext avatar Mar 18 '19 23:03 jsharps-yext

Alternatives:

Create an interface for the formatter and make the tablewriter one implementer and some quick dealio doo that pops out "foo\tbar\tbaz\n" the other implementation. (kinda like this more than what I have)

Flagging on something instead of controlling behavior via output device (don't really care all that much)

Also for this to be truly useful the "a new edward version" message should be suppressed when not outputting to terminal

jsharps-yext avatar Mar 19 '19 00:03 jsharps-yext

Uploaded the interface one that I liked better because I liked it better.

jsharps-yext avatar Mar 19 '19 01:03 jsharps-yext