bagisto / bagisto-package-generator

Bagisto Package Generator
MIT License
37 stars 14 forks source link

On creating model three files created but on force only one file overwrite. #4

Closed devansh-webkul closed 4 years ago

devansh-webkul commented 4 years ago

Bug On running,

php artisan package:make-model TestModel ACME/TestPackage --force

Three files are created i.e. TestModel, TestModelProxy and TestModel contract.

But when I run force option then only one file is being overwrite i.e. TestModel.php.

Suggestion

  1. Remaining 2 files should be optional, we can give options like -pc, -p, -c where -p for proxy and -c for the contract.
  2. Forcefully should overwrite all.