[](https://www.sgalinski.de/typo3-produkte-webentwicklung/gulp-frontend-toolchain/)
[](https://www.sgalinski.de/sgc/)
# sgalinski CLI Task Runner
...
...
@@ -61,17 +61,17 @@ Please note that the following steps need to be executed before a new release:
## Available Commands
*```sgc```: Loads a BrowserSync instance and listens for file changes (triggers css and js compilation)
*```sgc -s```: Loads the BrowserSync instance, but prevents it from automatically open in the browser
*```sgc -d domain.dev```: Starts the BrowserSync instance with the specified dev-domain (must be configured in .sgc-config.json)
*```sgc css```: Runs the CSS QA task (linting) and compiles all CSS files
*```sgc css:qa```: Runs only the CSS QA task (linting)
*```sgc js```: Runs the JS QA task (linting) and compiles all JS/TS files
*```sgc js:qa```: Runs only the JS QA task (linting)
*```sgc releaseExtension --ext {extension name}```: Starts a questionaire wich helps to update an extension according to SEMVER (updates composer.json and ext_emconf.php)
*```sgc images```: runs the image optimizer on all images inside the folder you specified in the directories section of the .sgc-config.json
*```sgc images:uploaded```: runs the image optimizer on all images inside the folder you specified in the images.optimize section of the .sgc-config.json
*```sgc open {sites}``` Opens a set of URLs in the default browser, that you can define inside your .sgc-config.json
*__sgc__: Loads a BrowserSync instance and listens for file changes (triggers css and js compilation)
*__sgc -s__: Loads the BrowserSync instance, but prevents it from automatically open in the browser
*__sgc -d domain.dev__: Starts the BrowserSync instance with the specified dev-domain (must be configured in .sgc-config.json)
*__sgc css__: Runs the CSS QA task (linting) and compiles all CSS files
*__sgc css:qa__: Runs only the CSS QA task (linting)
*__sgc js__: Runs the JS QA task (linting) and compiles all JS/TS files
*__sgc js:qa__: Runs only the JS QA task (linting)
*__sgc releaseExtension --ext {extension name}__: Starts a questionaire wich helps to update an extension according to SEMVER (updates composer.json and ext_emconf.php)
*__sgc images__: runs the image optimizer on all images inside the folder you specified in the directories section of the .sgc-config.json
*__sgc images:uploaded__: runs the image optimizer on all images inside the folder you specified in the images.optimize section of the .sgc-config.json
*__sgc open {sites}__ Opens a set of URLs in the default browser, that you can define inside your .sgc-config.json
You can call every command with the ```--production``` flag. This will prevent the toolchain from generating SourceMaps.