File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 6
6
7
7
class CurlCommand extends Command
8
8
{
9
- protected $ signature = 'curl {--X|request=GET} {--H|header=*} {--d|data=*} {--F|form=*} {url} ' ;
9
+ protected $ signature = 'curl {--X|request=GET} {--H|header=*} {--d|data=*} {--F|form=*} {--digest} {--basic} {--connect-timeout=} {--retry=} {--s|silent} {--u|user=} { url} ' ;
10
10
11
11
protected $ description = 'Parse UNIX curl command ' ;
12
12
@@ -18,6 +18,12 @@ public function handle()
18
18
'headers ' => $ this ->option ('header ' ),
19
19
'data ' => $ this ->option ('data ' ),
20
20
'fields ' => $ this ->option ('form ' ),
21
+ 'digest ' => $ this ->option ('digest ' ),
22
+ 'basic ' => $ this ->option ('basic ' ),
23
+ 'timeout ' => $ this ->option ('connect-timeout ' ),
24
+ 'retry ' => $ this ->option ('retry ' ),
25
+ 'silent ' => $ this ->option ('silent ' ),
26
+ 'user ' => $ this ->option ('user ' ),
21
27
// TODO: map more options...
22
28
];
23
29
You can’t perform that action at this time.
0 commit comments