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
Ảnh của Tommy Tran

Tommy owner Express Magazine

Drupal Developer having 9+ year experience, implementation and having strong knowledge of technical specifications, workflow development. Ability to perform effectively and efficiently in team and individually. Always enthusiastic and interseted to study new technologies

  • Skype ID: tthanhthuy

Tìm kiếm bất động sản

 

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

 
Apple thử nghiệm máy tính bảng màn hình nhỏ

Apple thử nghiệm máy tính bảng màn hình nhỏ

Tập đoàn Apple đang hợp tác với các nhà cung cấp linh kiện ở Châu Á để thử nghiệm môt loại máy tính bảng mới với màn hình nhỏ hơn trong nỗ lực tìm kiếm mở rộng dòng sản phẩm trong bối cảnh cạnh tranh khốc liệt...

Hướng dẫn custom Panels Layouts và Content Types trong Drupal 7

Hướng dẫn custom Panels Layouts và Content Types trong Drupal 7

This blog post will show you how to use and customize some of the features in panels including layouts and content types.

Confirms 4 câu hỏi về việc: Designers Aren't Clear How To Help Drupal 8

Confirms 4 câu hỏi về việc: Designers Aren't Clear How To Help Drupal 8

Below are the questions that were asked and some of the great takeaways I personally gathered from the answers given. Moving forward this information will be extremely helpful in creating a solution to the existing problems of not enough designers getting involved.

Công ty diệt chuột T&C

 

Diet con trung