phpcr / phpcr-shell

PHPCR Shell
MIT License
69 stars 19 forks source link

Table output formatting #38

Open dantleech opened 10 years ago

dantleech commented 10 years ago

We should have global options for formatting table output, for example,

  1. I want to dump all the descriptors in YAML format
  2. I want the results of a query in CSV format

//cc @cordoval maybe we can share some logic with gush here?

cordoval commented 10 years ago

@dantleech it looks interesting, how to proceed? I have a talk on DrupalCon i am preparing so after 13th June I am good to work on this

dantleech commented 10 years ago

Cool, sounds fun :) Dunno, I have thought about sharing some logic between Gush and PHPCR-Shell before, because really stuff like formatting table output is not specific to either application. maybe a separate package ..

cordoval commented 10 years ago

are you suggesting we create a repository under Gush family and then move into how to catter the functionality for a command in gush and for shell-phpcr?

dantleech commented 10 years ago

I think that would make sense

On 2014-05-27 04:34, Luis Cordova wrote:

are you suggesting we create a repository under Gush family and then move into how to catter the functionality for a command in gush and for shell-phpcr?

Reply to this email directly or view it on GitHub [1].

Links:

[1] https://github.com/phpcr/phpcr-shell/issues/38#issuecomment-44230591

cordoval commented 10 years ago

https://github.com/gushphp/table-formatter

dantleech commented 10 years ago

its going to be awesome :)