File tree Expand file tree Collapse file tree 5 files changed +19
-16
lines changed Expand file tree Collapse file tree 5 files changed +19
-16
lines changed Original file line number Diff line number Diff line change @@ -16,14 +16,15 @@ class Activate extends EnvironmentAwareCommand
16
16
*
17
17
* @var string
18
18
*/
19
- protected $ signature = 'sidecar:activate {--pre-warm} ' ;
19
+ protected $ signature = 'sidecar:activate
20
+ {--pre-warm : Send warming requests to Sidecar functions} ' ;
20
21
21
22
/**
22
23
* The console command description.
23
24
*
24
25
* @var string
25
26
*/
26
- protected $ description = 'Activate Sidecar functions that have already been deployed. ' ;
27
+ protected $ description = 'Activate Sidecar functions that have already been deployed ' ;
27
28
28
29
/**
29
30
* @throws NoFunctionsRegisteredException
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ class Configure extends Command
28
28
*
29
29
* @var string
30
30
*/
31
- protected $ description = 'Interactively configure your Sidecar AWS environment variables. ' ;
31
+ protected $ description = 'Interactively configure your Sidecar AWS environment variables ' ;
32
32
33
33
/**
34
34
* @var string
@@ -70,11 +70,11 @@ public function handle()
70
70
71
71
$ this ->line (' ' );
72
72
$ this ->info ('Done! Here are your environment variables: ' );
73
- $ this ->line ('SIDECAR_ACCESS_KEY_ID= ' . $ credentials ['key ' ]);
74
- $ this ->line ('SIDECAR_SECRET_ACCESS_KEY= ' . $ credentials ['secret ' ]);
75
- $ this ->line ('SIDECAR_REGION= ' . $ this ->region );
76
- $ this ->line ('SIDECAR_ARTIFACT_BUCKET_NAME= ' . $ bucket );
77
- $ this ->line ('SIDECAR_EXECUTION_ROLE= ' . $ role );
73
+ $ this ->line ('SIDECAR_ACCESS_KEY_ID= ' . $ credentials ['key ' ]);
74
+ $ this ->line ('SIDECAR_SECRET_ACCESS_KEY= ' . $ credentials ['secret ' ]);
75
+ $ this ->line ('SIDECAR_REGION= ' . $ this ->region );
76
+ $ this ->line ('SIDECAR_ARTIFACT_BUCKET_NAME= ' . $ bucket );
77
+ $ this ->line ('SIDECAR_EXECUTION_ROLE= ' . $ role );
78
78
$ this ->line (' ' );
79
79
$ this ->info ('They will work in any environment. ' );
80
80
}
@@ -92,9 +92,9 @@ public function client($class)
92
92
'version ' => 'latest ' ,
93
93
'credentials ' => [
94
94
'key ' => $ this ->key ,
95
- 'secret ' => $ this ->secret
96
- ]
97
- ]
95
+ 'secret ' => $ this ->secret ,
96
+ ],
97
+ ],
98
98
]);
99
99
}
100
100
Original file line number Diff line number Diff line change @@ -16,14 +16,16 @@ class Deploy extends EnvironmentAwareCommand
16
16
*
17
17
* @var string
18
18
*/
19
- protected $ signature = 'sidecar:deploy {--activate} {--pre-warm} ' ;
19
+ protected $ signature = 'sidecar:deploy
20
+ {--activate : Activate the deployment after deploying}
21
+ {--pre-warm : Send warming requests to Sidecar functions} ' ;
20
22
21
23
/**
22
24
* The console command description.
23
25
*
24
26
* @var string
25
27
*/
26
- protected $ description = 'Deploy Sidecar functions. ' ;
28
+ protected $ description = 'Deploy Sidecar functions ' ;
27
29
28
30
/**
29
31
* @throws NoFunctionsRegisteredException
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ class Install extends Command
23
23
*
24
24
* @var string
25
25
*/
26
- protected $ description = 'Install the Sidecar config file into your app. ' ;
26
+ protected $ description = 'Install the Sidecar config file into your app ' ;
27
27
28
28
public function __construct ()
29
29
{
@@ -40,7 +40,7 @@ public function __construct()
40
40
public function handle ()
41
41
{
42
42
Artisan::call ('vendor:publish ' , [
43
- '--provider ' => SidecarServiceProvider::class
43
+ '--provider ' => SidecarServiceProvider::class,
44
44
]);
45
45
46
46
$ this ->info ('Config file published! ' );
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ class Warm extends EnvironmentAwareCommand
22
22
*
23
23
* @var string
24
24
*/
25
- protected $ description = 'Send warming requests to Sidecar functions. ' ;
25
+ protected $ description = 'Send warming requests to Sidecar functions ' ;
26
26
27
27
/**
28
28
* @throws Exception
You can’t perform that action at this time.
0 commit comments