Skip to content

Commit e77425b

Browse files
committed
Include versioning in help
1 parent 18b5662 commit e77425b

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/main/php/xp/lambda/Runner.class.php

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,18 @@
88
* XP AWS Lambda
99
* =============
1010
*
11-
* - Store runtime layer as `runtime.zip`, building if necessary:
11+
* - Store runtime layer as `runtime-X.X.X.zip`, building if necessary:
1212
* ```sh
1313
* $ xp lambda runtime
1414
* ```
1515
* - Rebuild runtime:
1616
* ```sh
1717
* $ xp lambda runtime -b
1818
* ```
19+
* - Speficy runtime version, selecting newest PHP 8.0 release:
20+
* ```sh
21+
* $ xp lambda runtime:8.0
22+
* ```
1923
* - Test lambda:
2024
* ```sh
2125
* $ xp lambda test Greet '{"name":"Test"}'
@@ -24,7 +28,7 @@
2428
* ```sh
2529
* $ xp lambda package Greet.class.php
2630
* ```
27-
* This command requires Docker to be installed!
31+
* The `runtime` and `test` commands require Docker to be installed!
2832
*/
2933
class Runner {
3034
const PHP_RELEASES = 'https://www.php.net/releases/';

0 commit comments

Comments
 (0)