Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3.0] Rename asset command to publish #694

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,21 @@

use Illuminate\Console\Command;

class AssetsCommand extends Command
class PublishCommand extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'horizon:assets';
protected $signature = 'horizon:publish';

/**
* The console command description.
*
* @var string
*/
protected $description = 'Re-publish the Horizon assets';
protected $description = 'Publish all of the Horizon resources';

/**
* Execute the console command.
Expand Down
8 changes: 4 additions & 4 deletions src/HorizonServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -171,13 +171,13 @@ protected function registerCommands()
{
if ($this->app->runningInConsole()) {
$this->commands([
Console\InstallCommand::class,
Console\AssetsCommand::class,
Console\ContinueCommand::class,
Console\HorizonCommand::class,
Console\InstallCommand::class,
Console\ListCommand::class,
Console\PurgeCommand::class,
Console\PauseCommand::class,
Console\ContinueCommand::class,
Console\PublishCommand::class,
Console\PurgeCommand::class,
Console\StatusCommand::class,
Console\SupervisorCommand::class,
Console\SupervisorsCommand::class,
Expand Down