So I download and enable adaptivetheme. It's the only theme on my machine (Mac OS X if that matters).

~/Sites/ra (master)
 $ drush @my.local adaptivetheme "RA Theme" ra_theme
/profiles/ra/themes/contrib/adaptivetheme/at_coredrush: The directory "/profiles/ra/themes/contrib/adaptivetheme/at_core/../at_subtheme" was not found.
Drush command terminated abnormally due to an unrecoverable error.    

The fix is actually pretty straight forward I think, will supply a patch momentarily.

Files: 

Comments

MKorostoff’s picture

Here's a patch that should address this

Jeff Burnz’s picture

Status: Active » Needs review

OK, will try to test this over the weekend, cheers.

capynet’s picture

Status: Needs review » Reviewed & tested by the community

It's not an error, just go to admin/appearance and enable "AT Core". Now you can run from any point inside your drupal installation:

drush adaptivetheme "My theme" mytheme
or
drush adaptivetheme "My theme"

The last command generates a machiname like "my-theme"

capynet’s picture

Status: Reviewed & tested by the community » Closed (works as designed)
Plazik’s picture

Title: `drush adaptivetheme "New Theme" new_theme` fails for me out of the box » `drush @alias adaptivetheme "New Theme" new_theme` doesn't work
Version: 7.x-3.0 » 7.x-3.x-dev
Component: AT Admin » Theme Generator
Issue summary: View changes
Status: Closed (works as designed) » Reviewed & tested by the community

I have the same issue and I think it's a bug. Drush gereration doesn't work with drush aliases like @my.local in the first post.

I've tested patch from #1 with adaptivetheme 7.x-3.x-dev and drush 7.x-dev and all works fine.

Jeff Burnz’s picture

Status: Reviewed & tested by the community » Closed (outdated)