It would be very interesting to be able to render a table based View in the CLI. We already have a nice table renderer (see the pm update command). We'd need to strip_tags() or otherwise do an html => text conversion.

Comments

moshe weitzman’s picture

I guess the simplest solution is to accept a URI so we can extract arguments and filters and such. would work for Viiews that define a 'Page'. If that is not sufficient, we need a way to pass in arguments and filters.

tracker/1?filter0=2007

moshe weitzman’s picture

Ultimately, this should ship in Views package as views.drush.inc

moshe weitzman’s picture

Project: Drush » Drush Views
Version: » 6.x-2.x-dev

For now, drush_views is best place for this.

pescetti’s picture

Project: Drush Views » Views (for Drupal 7)
Version: 6.x-2.x-dev » 7.x-3.x-dev

This is a very interesting suggestion, but now Views is developing a built-in Drush interface partially based on Drush Views, see #1096648: Add drush views-export and views-import commands and Drush Views itself will very likely be deprecated: moving this issue to the Views issue queue.