G
G
Galdar Turin2019-02-12 16:57:18
PHP
Galdar Turin, 2019-02-12 16:57:18

Confirmation of actions in the console through php, how is it possible to implement?

In Linux Debian 9 there is a script that performs an "action", after execution it asks to "confirm", how is it possible to implement confirmation of the executed command?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
donflash, 2019-02-12
@Galdar

I propose not to reinvent the wheel, but to use a ready-made Symfony component with its helper:
https://symfony.com/doc/current/components/console...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question