$this->output()->writeln("<options=bold;fg=green>[ Total Files Found ] = [ ".count($resultEvent['Active'])." ]</>");
$this->output()->writeln(
"<options=bold;fg=green>[ Total Files Found ] = [ ".count($resultEvent['Active'])." ]</>"
);
if($resultEvent['Active']!=null){
$this->output()->writeln("<info>\nFiles will be permanently delete from date</info><bg=black;options=bold;>\nFrom : ".date('Y-m-d h:i:s',$st_time)."\nTo : ".date('Y-m-d h:i:s',$hrs)."</>");
$this->output()->writeln(
"<info>\nFiles will be permanently delete from date</info>
$this->output()->writeln("<info>--date <option> : give a date with --date Year/Mont/Day</info>");
}
elseif($options['info']){
$this->output()->writeln("\n<bg=yellow;fg=white;options=bold>This module is used to delete files from directory and database.</><options=bold;fg=blue>\n\nRun Below Command</><options=bold> \n\n drush dl-file --date <option> as <Y/m/d> to delete files from given date +1 day.\n drush dl-file --info to know about commands.</><options=bold;fg=blue>\n\nThank you.</>\n");
$this->output()->writeln("<bg=yellow;fg=white;options=bold>This module is used to delete files from directory and database.</><options=bold;fg=blue>\nRun Below Command</><options=bold> \n drush dl-file --date <option> as <Y/m/d> to delete files from given date +1 day.\n drush dl-file --info to know about commands.</><options=bold;fg=blue>\nThank you.</>");