Skip to content

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

@avolutions

Description

@avolutions

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions