egeloen / IvoryCKEditorBundle

Provides a CKEditor integration for your Symfony project.
MIT License
336 stars 114 forks source link

Allow script run in silent mode #328

Open siciarek opened 6 years ago

siciarek commented 6 years ago

It would be nice if script could run in silent mode. I use webistrano and every progress change is displayed as a separate text line. Silent parameter could be set in composer.json eg.

{
    "extra": {
        "ckeditor-quiet": true,
    }
}

And in the CKEditorScriptHandler::createCommand code

 if (isset($extra['ckeditor-quiet']) && $extra['ceditor-quiet'] === true) {
    $command .= ' --quiet';
}