better confirmation message
Some checks are pending
/ test (push) Waiting to run

This commit is contained in:
Florian Schmitt 2024-12-05 22:51:10 +03:00
parent 2e83f4025d
commit 9091895058

View file

@ -77,7 +77,8 @@ if ($from === $to) {
} }
$climate->bold()->underline()->out('Move a YesWiki'); $climate->bold()->underline()->out('Move a YesWiki');
$climate->out('This will move yeswiki on <bold>'.$from.'</bold> to <bold>'.$to.'</bold>, CAREFULL the destination yeswiki will be replaced'."\n"); $climate->out('This will move yeswiki on <bold>'.$from.'</bold> to <bold>'.$to.'</bold>');
$climate->red('CAREFUL: the destination yeswiki will be replaced'."\n");
$input = $climate->confirm('Is it all good ?'); $input = $climate->confirm('Is it all good ?');
if ($input->confirmed()) { if ($input->confirmed()) {
$climate->shout( $climate->shout(