Vos commentaires
Maybe an additional option "-Y|--yes" to autoconfirm the installation?
I know this might be wanted as an autoconfirmation can be risky, especially when upgrading/reconfiguring.
But the user is master of his installation.
The option can be very handy with automation and Config as Code tool.
Thanks, I'll try it out and let you know.
Service d'assistance aux clients par UserEcho
Is there a way to get the current installed version using the CLI?
I've tried
```bash
su www-data -s /bin/bash -c "bin/console system:status --format json --private"
```
```json
{
"glpi": {
"status": "OK"
},
"db": {
"status": "OK",
"master": {
"status": "OK"
},
"slaves": {
"status": "NO_DATA",
"servers": []
},
"main": {
"status": "OK"
},
"replicas": {
"status": "NO_DATA",
"servers": []
}
},
"cas": {
"status": "NO_DATA"
},
"ldap": {
"status": "NO_DATA",
"servers": []
},
"imap": {
"status": "NO_DATA",
"servers": []
},
"mail_collectors": {
"status": "NO_DATA",
"servers": []
},
"crontasks": {
"status": "OK",
"stuck": [],
"status_msg": "RUNNING: 0, STUCK: 0, TOTAL: 41"
},
"filesystem": {
"status": "OK",
"session_dir": {
"status": "OK"
}
},
"plugins": {
"status": "NO_DATA"
}
}
```
thanks,