ExtensionRefreshCommand.php 511 B

1234567891011121314151617181920
  1. <?php
  2. namespace Dcat\Admin\Console;
  3. use Illuminate\Console\Command;
  4. class ExtensionRefreshCommand extends Command
  5. {
  6. protected $signature = 'admin:extension-refresh
  7. {name : The name of the extension. Eg: author-name/extension-name}
  8. {--path= : The path of the extension.}';
  9. protected $description = 'Removes and re-adds an existing extension.';
  10. public function handle()
  11. {
  12. $name = $this->argument('name');
  13. $path = $this->argument('path');
  14. }
  15. }