...would be neat

Comments

autopoietic’s picture

StatusFileSize
new3.04 KB

I have abstracted the 'environment status' form submit so that it can potentially be used separately.

I had thought that you would be able to use from drush via php-eval in the following manner:

drush php-eval "module_load_include('inc', 'tadaa', 'tadaa.status.pages'); tadaa_change_environment('local_dev_');

but though works fine from devel/php it seems not to have any effect (or errors) when run from drush bootstrap. I assume that the batch processes are falling down without error, maybe another include required.

olofbokedal’s picture

Status: Active » Fixed

Added in 7.x-1.1.

Three commands has been added:

drush tadaa
Prints the state of the current environment.

drush tadaa-fix (drush tf)
Enables/disables modules and changes the values of variables that doesn't match the current configuration.

drush tadaa-switch environment (drush ts environment)
Switches to the specified environment, e.g. drush ts development.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.