galileo icon indicating copy to clipboard operation
galileo copied to clipboard

Switch to cli-table

Open ColemanGariety opened this issue 11 years ago • 6 comments

cli-table looks prettier than terminal table, and terminal table is awfully buggy.

This is cli-table:

687474703a2f2f692e696d6775722e636f6d2f73597134542e706e67

http://github.com/LearnBoost/cli-table

ColemanGariety avatar Jan 24 '14 19:01 ColemanGariety

Are you going to switch to Node?

cp avatar Jan 24 '14 19:01 cp

@ColbyAley nope, but I can generate the table with node and send it to Ruby. I'd rather find this same style table in Ruby but I have yet to uncover it.

ColemanGariety avatar Jan 24 '14 19:01 ColemanGariety

@ColbyAley do you think this can be done via the ruby racer? https://github.com/cowboyd/therubyracer

ColemanGariety avatar Jan 31 '14 00:01 ColemanGariety

And then there's this:

https://github.com/wbailey/command_line_reporter

ColemanGariety avatar Jan 31 '14 00:01 ColemanGariety

Command Line Reporter looks nice, even though the name is not nice. I've never used ruby racer outside of Rails, but using it here sounds pretty hacky IMO.

I am dumb. :stuck_out_tongue:

cp avatar Jan 31 '14 01:01 cp

Command Line Reporter apparently doesn't automatically calculate text wrap-around like cli-table and terminal-table do. So this is on hold.

screen shot 2014-01-31 at 12 44 23 am

If anyone wants to work on this, the code is in the branch 2fa-and-cli-table

ColemanGariety avatar Jan 31 '14 07:01 ColemanGariety