Archived
1
0
Fork 0
This repository has been archived on 2021-07-30. You can view files and clone it, but cannot push or open issues or pull requests.
ifnews/config/commands.php

80 lines
2.5 KiB
PHP
Raw Normal View History

2019-09-12 18:31:50 +03:00
<?php
return [
2019-09-13 08:56:52 +03:00
/*
|--------------------------------------------------------------------------
| Default Command
|--------------------------------------------------------------------------
|
| Laravel Zero will always run the command specified below when no command name is
| provided. Consider update the default command for single command applications.
| You cannot pass arguments to the default command because they are ignored.
|
*/
2019-09-12 18:31:50 +03:00
2019-09-13 08:56:52 +03:00
'default' => NunoMaduro\LaravelConsoleSummary\SummaryCommand::class,
2019-09-12 18:31:50 +03:00
2019-09-13 08:56:52 +03:00
/*
|--------------------------------------------------------------------------
| Commands Paths
|--------------------------------------------------------------------------
|
| This value determines the "paths" that should be loaded by the console's
| kernel. Foreach "path" present on the array provided below the kernel
| will extract all "Illuminate\Console\Command" based class commands.
|
*/
2019-09-12 18:31:50 +03:00
2019-09-13 08:56:52 +03:00
'paths' => [app_path('Commands')],
2019-09-12 18:31:50 +03:00
2019-09-13 08:56:52 +03:00
/*
|--------------------------------------------------------------------------
| Added Commands
|--------------------------------------------------------------------------
|
| You may want to include a single command class without having to load an
| entire folder. Here you can specify which commands should be added to
| your list of commands. The console's kernel will try to load them.
|
*/
2019-09-12 18:31:50 +03:00
2019-09-13 08:56:52 +03:00
'add' => [
// ..
],
2019-09-12 18:31:50 +03:00
2019-09-13 08:56:52 +03:00
/*
|--------------------------------------------------------------------------
| Hidden Commands
|--------------------------------------------------------------------------
|
| Your application commands will always be visible on the application list
| of commands. But you can still make them "hidden" specifying an array
| of commands below. All "hidden" commands can still be run/executed.
|
*/
2019-09-12 18:31:50 +03:00
2019-09-13 08:56:52 +03:00
'hidden' => [
NunoMaduro\LaravelConsoleSummary\SummaryCommand::class,
Symfony\Component\Console\Command\HelpCommand::class,
Illuminate\Console\Scheduling\ScheduleRunCommand::class,
Illuminate\Console\Scheduling\ScheduleFinishCommand::class,
Illuminate\Foundation\Console\VendorPublishCommand::class,
],
2019-09-12 18:31:50 +03:00
2019-09-13 08:56:52 +03:00
/*
|--------------------------------------------------------------------------
| Removed Commands
|--------------------------------------------------------------------------
|
| Do you have a service provider that loads a list of commands that
| you don't need? No problem. Laravel Zero allows you to specify
| below a list of commands that you don't to see in your app.
|
*/
2019-09-12 18:31:50 +03:00
2019-09-13 08:56:52 +03:00
'remove' => [
// ..
],
2019-09-12 18:31:50 +03:00
];