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

 
Hướng dẫn viết module Ajax in Forms trên Drupal 8

Hướng dẫn viết module Ajax in Forms trên Drupal 8

We will be making a simple form which will contain a text field that will validate if the username entered exists, and a button that will replace the text field value with a random existing username.

Hướng dẫn cài đặt Mac OS X 10.4.3 trên PC Intel

Hướng dẫn cài đặt Mac OS X 10.4.3 trên PC Intel

Trong bài viết này chúng tôi sẽ giới thiệu cho các bạn cách cài đặt Apple Mac OS X 10.4.3 trên các máy tính Intel. Trước hết bạn cần thực hiện kiểm tra danh sách phần cứng tương thích (HCL - Hardware Compatibility List)

Hướng dẫn update cho theme trong Drupal

Hướng dẫn update cho theme trong Drupal

In the example below, we have version 7.x.-1.0 of the Zero Point theme on our site.

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

 

Diet con trung