承接 terminus-plugin-project/terminus-cantilever-plugin 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

terminus-plugin-project/terminus-cantilever-plugin

Composer 安装命令:

composer require terminus-plugin-project/terminus-cantilever-plugin

包简介

touch any/all terminus environments

README 文档

README

Terminus v2.x Compatible

  • isolate environments by framework (drupal, drupal8, wordpress)
  • isolate environments by plan (sandbox, basic, performance small, performance medium, elite)
  • run drush and/or wp-cli commands, or really any commands at all
  • provide organized report of operations on per site basis

Watch the video

Watch the video to learn more about the why and how of Cantilever.

Use Case

This plugin extends site:list to allow users to execute commands on each site that is listed.

It will take arguments for environment --env=, framework --frame=, tags --tags= and organizations --org=.

You can also specify a command --command= to apply to all of the sites targeted.

Ex. terminus can --frame='wordpress' --env='dev' --command='terminus [site] wp plugin update --all && terminus [site] wp theme update themename'.

In the command, you have tokens available to use as placeholders for each sites data.

  • [site] will produce site.env; Ex. yoursite.live
  • [name] will produce the sites name; Ex. yoursite
  • [env] will produce the environment selected; Ex. live

Installation

To install this plugin place it in ~/.terminus/plugins/.

On Mac OS/Linux:

mkdir -p ~/.terminus/plugins
composer create-project -d ~/.terminus/plugins terminus-plugin-project/terminus-cantilever-plugin:~2

Examples

terminus can --env=live --plan='basic,performance small,performance medium' --frame='drupal,drupal8' --command='terminus drush [site] pml|grep redis'

terminus can --env=live --frame='wordpress' --command='terminus wp [site] option get home'

Help

Run terminus can --help for help.

TODO

  • Add support for organization/membership tags
  • Allow interactive input for filters

This plugin is provided by Inclind

统计信息

  • 总下载量: 54
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 4
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-09-20

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固