Skip to content

Commit

Permalink
refactor: change commands
Browse files Browse the repository at this point in the history
  • Loading branch information
ddevsr committed Apr 4, 2023
1 parent 9e332eb commit 85e3af2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ $ composer require phpdevsr/minifyku
# Configuration

```bash
$ php spark minify:publish
$ php spark minifyku:publish
```

This command will copy a config file to your app namespace. Then you can adjust it to your needs. By default, file will be present in ```app/Config/Minifyku.php```.
Expand All @@ -46,7 +46,7 @@ This configuration will be minify and combine file ```bootstrap.js```,```jquery.
Run command for minification your all assets:

```bash
$ php spark minify:all
$ php spark minifyku:minify
```

This will prepare everything and will set up a versioning. Make sure to load a minifier helper in your controller, by calling:
Expand Down
2 changes: 1 addition & 1 deletion src/Commands/MinifyAll.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
class MinifyAll extends BaseCommand
{
protected $group = 'Minifyku';
protected $name = 'minify:all';
protected $name = 'minifyku:minify';
protected $description = 'Minify all assets.';

public function __construct()
Expand Down
2 changes: 1 addition & 1 deletion src/Commands/PublishConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
class PublishConfig extends BaseCommand
{
protected $group = 'Minifyku';
protected $name = 'minify:publish';
protected $name = 'minifyku:publish';
protected $description = 'Minify config file publisher.';

/**
Expand Down

0 comments on commit 85e3af2

Please sign in to comment.