FriendsOfPHP / pickle

PHP Extension installer
Other
1.65k stars 88 forks source link

How to avoid input requests to do a silent install? #269

Open realtebo opened 5 months ago

realtebo commented 5 months ago

I'm using your excellent package to install redis inside a docker

It works, but I'd like to avoid some seconds of wait while pickle is waiting for me to reply y Of course, when building an image, there is no point to do and to wait for this

# php pickle.phar install redis
  - Installing redis (latest-stable): Downloading (100%)         
+-----------------------------------+--------+
| Package name                      | redis  |
| Package version (current release) | 6.0.2  |
| Package status                    | stable |
+-----------------------------------+--------+
use system liblzf (default: ): 
use system libzstd (default: ): 
use system liblz4 (default: ): 
whether to enable sessions (default: yes): 
whether to enable json serializer support (default: yes): 
whether to enable igbinary serializer support (default: no): 
whether to enable msgpack serializer support (default: no): 
whether to enable lzf compression (default: no): 
whether to enable Zstd compression (default: no): 
whether to enable lz4 compression (default: no):