Codesleeve\AssetPipeline\Commands\AssetsCleanCommand::fire PHP Method

fire() public method

Execute the console command.
public fire ( ) : void
return void
    public function fire()
    {
        $recursive = $this->option('recursive') === true;
        $this->verbose = $this->option('verbose') === true;
        $files = $this->option('file');
        foreach ($files as $file) {
            $this->removeAssetCache($file, $recursive);
        }
        $this->line('<info>codesleeve/asset-pipeline cache cleared!</info>');
        $this->line('<info>Cache will be re-built on next page request.</info>');
    }