mirror of
https://github.com/bitinflow/bunny-cli.git
synced 2026-03-13 13:45:54 +00:00
first commit
This commit is contained in:
60
config/app.php
Normal file
60
config/app.php
Normal file
@@ -0,0 +1,60 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Application Name
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This value is the name of your application. This value is used when the
|
||||
| framework needs to place the application's name in a notification or
|
||||
| any other location as required by the application or its packages.
|
||||
|
|
||||
*/
|
||||
|
||||
'name' => 'Bunny.net',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Application Version
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This value determines the "version" your application is currently running
|
||||
| in. You may want to follow the "Semantic Versioning" - Given a version
|
||||
| number MAJOR.MINOR.PATCH when an update happens: https://semver.org.
|
||||
|
|
||||
*/
|
||||
|
||||
'version' => app('git.version'),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Application Environment
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This value determines the "environment" your application is currently
|
||||
| running in. This may determine how you prefer to configure various
|
||||
| services the application utilizes. This can be overridden using
|
||||
| the global command line "--env" option when calling commands.
|
||||
|
|
||||
*/
|
||||
|
||||
'env' => 'development',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Autoloaded Service Providers
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The service providers listed here will be automatically loaded on the
|
||||
| request to your application. Feel free to add your own services to
|
||||
| this array to grant expanded functionality to your applications.
|
||||
|
|
||||
*/
|
||||
|
||||
'providers' => [
|
||||
App\Providers\AppServiceProvider::class,
|
||||
],
|
||||
|
||||
];
|
||||
15
config/bunny.php
Normal file
15
config/bunny.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'storage' => [
|
||||
'hostname' => env('BUNNY_STORAGE_HOSTNAME'),
|
||||
'username' => env('BUNNY_STORAGE_USERNAME'),
|
||||
'password' => env('BUNNY_STORAGE_PASSWORD'),
|
||||
],
|
||||
'pull_zone' => [
|
||||
'id' => env('BUNNY_PULL_ZONE_ID'),
|
||||
],
|
||||
'api' => [
|
||||
'access_key' => env('BUNNY_API_ACCESS_KEY'),
|
||||
],
|
||||
];
|
||||
80
config/commands.php
Normal file
80
config/commands.php
Normal file
@@ -0,0 +1,80 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| 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.
|
||||
|
|
||||
*/
|
||||
|
||||
'default' => NunoMaduro\LaravelConsoleSummary\SummaryCommand::class,
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| 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.
|
||||
|
|
||||
*/
|
||||
|
||||
'paths' => [app_path('Commands')],
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| 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.
|
||||
|
|
||||
*/
|
||||
|
||||
'add' => [
|
||||
// ..
|
||||
],
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| 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.
|
||||
|
|
||||
*/
|
||||
|
||||
'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,
|
||||
],
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| 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.
|
||||
|
|
||||
*/
|
||||
|
||||
'remove' => [
|
||||
// ..
|
||||
],
|
||||
|
||||
];
|
||||
84
config/logo.php
Normal file
84
config/logo.php
Normal file
@@ -0,0 +1,84 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Enabled
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This value determines if the app name should be represented as an
|
||||
| ASCII logo. This file provides a sane default location for all
|
||||
| information concerning the logo and is display customization.
|
||||
|
|
||||
*/
|
||||
|
||||
'enabled' => true,
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Logo Name
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This value determines the text that is rendered for the logo.
|
||||
| It defaults to the app name, but it can be any other text
|
||||
| value if the logo should be different to the app name.
|
||||
|
|
||||
*/
|
||||
'name' => config('app.name'),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Default Font
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This option defines the font which should be used for rendering.
|
||||
| By default, one default font is shipped. However, you are free
|
||||
| to download and use additional fonts: http://www.figlet.org.
|
||||
|
|
||||
*/
|
||||
|
||||
'font' => \LaravelZero\Framework\Components\Logo\FigletString::DEFAULT_FONT,
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Output Width
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This option defines the maximum width of the output string. This is
|
||||
| used for word-wrap as well as justification. Be careful when using
|
||||
| small values, because they may result in an undefined behavior.
|
||||
|
|
||||
*/
|
||||
|
||||
'outputWidth' => 80,
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Justification
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This option defines the justification of the logo text. By default,
|
||||
| justification is provided, which will work well on most of your
|
||||
| console apps. Of course, you are free to change this value.
|
||||
|
|
||||
*/
|
||||
|
||||
'justification' => null,
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Right To Left
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This option defines the option in which the text is written. By, default
|
||||
| the setting of the font-file is used. When justification is not defined,
|
||||
| a text written from right-to-left is automatically right-aligned.
|
||||
|
|
||||
| Possible values: "right-to-left", "left-to-right", null
|
||||
|
|
||||
*/
|
||||
|
||||
'rightToLeft' => null,
|
||||
|
||||
];
|
||||
20
config/updater.php
Normal file
20
config/updater.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
use LaravelZero\Framework\Components\Updater\Strategy\GithubStrategy;
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Self-updater Strategy
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may specify which update strategy class you wish to use when
|
||||
| updating your application via the "self-update" command. This must
|
||||
| be a class that implements the StrategyInterface from Humbug.
|
||||
|
|
||||
*/
|
||||
|
||||
'strategy' => GithubStrategy::class,
|
||||
|
||||
];
|
||||
Reference in New Issue
Block a user