File tree Expand file tree Collapse file tree 7 files changed +88
-24
lines changed
Expand file tree Collapse file tree 7 files changed +88
-24
lines changed Original file line number Diff line number Diff line change 11#Change Log
22All notable changes to this project starting with the 0.6.0 release will be documented in this file. This project adheres to [ Semantic Versioning] ( http://semver.org )
33
4- ## MASTER
4+ ## [ 0.10.5 ] - 2016-02-26
55### Added
66- Added ` site set-php-version ` command to set the PHP version on both sites and their environments. (#937 )
77
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ composer require pantheon-systems/terminus
3737
3838Run this in this in your terminal client:
3939``` bash
40- curl https://github.com/pantheon-systems/terminus/releases/download/0.10.4 /terminus.phar -L -o /usr/local/bin/terminus && chmod +x /usr/local/bin/terminus
40+ curl https://github.com/pantheon-systems/terminus/releases/download/0.10.5 /terminus.phar -L -o /usr/local/bin/terminus && chmod +x /usr/local/bin/terminus
4141```
4242
4343####Installing with Git
Original file line number Diff line number Diff line change @@ -9,5 +9,5 @@ TERMINUS_HOST: 'dashboard.pantheon.io'
99TERMINUS_PORT : 443
1010TERMINUS_PROTOCOL : ' https'
1111TERMINUS_TIME_ZONE : ' UTC'
12- TERMINUS_VERSION : ' 0.10.4 '
12+ TERMINUS_VERSION : ' 0.10.5 '
1313TERMINUS_DATE_FORMAT : ' Y-m-d H:i:s'
Original file line number Diff line number Diff line change 171171
172172##### Parameters:
173173 [array] $arg_options Elements as follow:
174- -array args Argument array passed from commands
175- -string message Prompt to STDOUT
174+ -array args Argument array passed from commands
175+ -string key Key to look for in args
176+ -string message Prompt to STDOUT
176177
177178##### Return:
178179 [string] Name of role
179180
180181---
181182
183+ ### phpVersion
184+ ##### Description:
185+ Helps select a PHP version for sites and environments
186+
187+ ##### Parameters:
188+ [array] $arg_options Elements as follow:
189+ -array args Parameters from the command line
190+ -array choices Choices to override the built-in ones
191+ -string key Key to look for in args
192+ -string message Prompt to STDOUT
193+
194+ ##### Return:
195+ [string] PHP version
196+
197+ ---
198+
182199### prompt
183200##### Description:
184201 Prompt the user for input
265282
266283##### Parameters:
267284 [array] $arg_options Elements as follow:
268- -array args Args already input
269- -string key Key for searched-for argument
270- -string message Prompt printed to STDOUT
271- -mixed default Returns if no other choice
285+ -array args Args already input
286+ -mixed default Returns if no other choice
287+ -string key Key for searched-for argument
288+ -string message Prompt printed to STDOUT
289+ -bool required True to disallow empty strings
272290
273291##### Return:
274292 [string] Either $args[$key], $default, or string from prompt
Original file line number Diff line number Diff line change 262262
263263---
264264
265+ ### setPhpVersion
266+ ##### Description:
267+ Sets the PHP version number of this environment
268+
269+ ##### Parameters:
270+ [string] $version_number The version number to set this environment to
271+ -use
272+
273+ ##### Return:
274+ [void]
275+
276+ ---
277+
265278### unlock
266279##### Description:
267280 Disable HTTP Basic Access authentication on the web environment
271284
272285---
273286
287+ ### unsetPhpVersion
288+ ##### Description:
289+ Unsets the PHP version of this environment so it will use the site default
290+
291+ ##### Return:
292+ [void]
293+
294+ ---
295+
274296### wake
275297##### Description:
276298 "Wake" a site
Original file line number Diff line number Diff line change 170170
171171---
172172
173+ ### fetchAttributes
174+ ##### Description:
175+ Re-fetches site attributes from the API
176+
177+ ##### Return:
178+ [void]
179+
180+ ---
181+
173182### get
174183##### Description:
175184 Returns given attribute, if present
363372
364373---
365374
375+ ### setPhpVersion
376+ ##### Description:
377+ Sets the PHP version number of this site
378+ Note: Once this changes, you need to refresh the data in the cache for
379+ this site or the returned PHP version will not reflect the change.
380+ $this->fetchAttributes() will complete this action for you.
381+
382+ ##### Parameters:
383+ [string] $version_number The version number to set this site to use
384+
385+ ##### Return:
386+ [void]
387+
388+ ---
389+
366390### updateServiceLevel
367391##### Description:
368392 Update service level
You can’t perform that action at this time.
0 commit comments