Needs work
Project:
Boxes
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
21 May 2010 at 14:12 UTC
Updated:
26 Jul 2010 at 21:45 UTC
Jump to comment: Most recent file
This stems from the work being done over @ #787198: Converting blocks to boxes.
I'd like to have some commands that control this like:
$ drush boxes-convert [optional-block-delta]
$ drush boxes-export [optional-block-delta]
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | boxes.drush_.inc_.txt | 2.47 KB | sirkitree |
| #1 | boxes.drush_.inc_.txt | 2.1 KB | sirkitree |
Comments
Comment #1
sirkitree commentedHere's is my first pass at this. I think I implemented these hook correctly, but I might be missing something as this is my first drush integration I've written. The commands do not show up when i list drush commands for some reason, so I'm a bit baffled.
Also, I'm not really sure how to export a box. I assume there is a $box->export() method but do not see one in boxes_box.inc. I know this can be done as features can export boxes, but THAT logic is just crazy and I can't follow it easily. So any more guidance anyone can give on this would really be appreciated.
Comment #2
sirkitree commentedOk second shot, fixing the silly bugs. Still need help with export though.
Comment #3
q0rban commentedsubscribe
Comment #4
halcyonCorsair commentedsubscribe.