avolutions-php / avolutions

AVOLUTIONS: Just another open source PHP framework
MIT License
4 stars 2 forks source link

[Command] Create commands not working if application directory not exists #177

Open avolutions opened 2 years ago

avolutions commented 2 years ago

Describe the bug If I want to use a create command (e.g. create-controller) and the application directory does not exist already (like in a new project) the following error occours:

mkdir(): No such file or directory

The application directory should be created automatically by the create commands.

To Reproduce

  1. Create a new project by using the app template
  2. Run the following command: > php avolute create-controller Test

Additional information AVOLUTIONS version: 0.9.0-alpha PHP version: 8.0