From 9e43955fbb4f34c428b774c0c75aaba5848a747c Mon Sep 17 00:00:00 2001 From: Nabeel Shahzad Date: Tue, 20 Mar 2018 16:10:52 -0500 Subject: [PATCH] rename yaml import/export --- Makefile | 4 ++-- app/Console/Commands/YamlExport.php | 2 +- app/Console/Commands/YamlImport.php | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 8ac026da..cbd4bcc6 100644 --- a/Makefile +++ b/Makefile @@ -61,8 +61,8 @@ reset: clean reload-db: @php artisan database:create --reset @php artisan migrate:fresh --seed - @php artisan phpvms:import app/Database/seeds/sample.yml - @php artisan phpvms:import app/Database/seeds/acars.yml + @php artisan phpvms:yaml-import app/Database/seeds/sample.yml + @php artisan phpvms:yaml-import app/Database/seeds/acars.yml #php artisan phpvms:navdata .PHONY: tests diff --git a/app/Console/Commands/YamlExport.php b/app/Console/Commands/YamlExport.php index 6021fa58..f5c5902a 100644 --- a/app/Console/Commands/YamlExport.php +++ b/app/Console/Commands/YamlExport.php @@ -13,7 +13,7 @@ use Symfony\Component\Yaml\Yaml; */ class YamlExport extends Command { - protected $signature = 'phpvms:export {tables*}'; + protected $signature = 'phpvms:yaml-export {tables*}'; protected $description = 'YAML table export'; /** diff --git a/app/Console/Commands/YamlImport.php b/app/Console/Commands/YamlImport.php index f7a3f3a3..d7725dc0 100644 --- a/app/Console/Commands/YamlImport.php +++ b/app/Console/Commands/YamlImport.php @@ -11,7 +11,7 @@ use App\Services\DatabaseService; */ class YamlImport extends Command { - protected $signature = 'phpvms:import {files*}'; + protected $signature = 'phpvms:yaml-import {files*}'; protected $description = 'Developer commands'; protected $dbSvc;