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

 
Máy tính Lenovo tại Trần Anh vừa xuất kho đã lỗi

Máy tính Lenovo tại Trần Anh vừa xuất kho đã lỗi

Máy Lenovo G480 vừa xuất tại kho của Công ty Trần Anh đã xuất hiện lỗi sọc đen dài tại màn hình góc phải, dẫn tới sập màn hình không thể cài đặt. Đây là những băn khoăn được khách hàng gửi đến các cơ quan báo chí phản ánh.

Hướng dẫn trang trí văn bản giống trang báo 2015

Hướng dẫn trang trí văn bản giống trang báo 2015

REqual column width: Mặc định độ rộng các cọt bằng nhau. Nếu để £ thì có thể điều chỉnh độ rộng các cột khác nhau tùy thích.

Giới thiệu bình Xịt Gián, MuỗI CIK 600 ml Hương Táo Mosfly

Giới thiệu bình Xịt Gián, MuỗI CIK 600 ml Hương Táo Mosfly

Hương táo thanh mát, chống muỗi hiệu quả nhưng người dùng vẫn cảm thấy thoải mái, dễ chịu

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

 

Diet con trung