Hướng dẫn output từ remote drush commands, Drupal 7

Hướng dẫn output từ remote drush commands, Drupal 7

Have you noticed how the output from your remote drush commands wraps at awkward lengths? This is especially annoying with features commands:

Well, here's a quick fix! Throw this snippet into your drush alias. It adds a "shell-alias" that executes the features-listcommand with the --ttySSH option.

$aliases['my-alias'] = array(
  ...
  'shell-aliases' => array(
    'fl' => 'ssh --tty drush fl',
  ),
);

Prettified!

NOTE: If you get the error "The drush command 'fl' could not be found," then Drush doesn't know which sites directory to use. To fix, you have two options:

  1. Add the "--uri" option to the shell alias. E.g., 'ssh --tty drush --uri=www.example.com fl'
  2. Specify the "l" option in drushrc.php. E.g.,
Bạn thấy bài viết này như thế nào?: 
No votes yet

Advertisement

 

jobsora

Dich vu khu trung tphcm

Dich vu diet chuot tphcm

Dich vu diet con trung

Quảng Cáo Bài Viết

 
63 hướng dẫn best practice to optimize PHP code performances
63 hướng dẫn best practice to optimize PHP code performances

Today i am searching solutions for any tips and tricks about best practice to optimize PHP code performances and i found some of useful articles which you may interested with.

Chat to MSN, Facebook, AIM, GTalk,Yahoo Friends with eBuddy Messenger for Androi
Chat to AIM, GTalk,Yahoo Friends with eBuddy Messenger

If you absolutely love instant messaging on your Android then eBuddy messenger is the app that you must have on your phone.

Giới thiệu các lệnh command line hữu ích trong Window 8 năm 2015
Giới thiệu các lệnh command line hữu ích trong Window 8 năm 2015

Ở trên, bạn đã có thể chạy được Microsoft Excel , Microsoft Access, Microsoft Powerpoint, Microsoft Word, Microsoft Frontpage