Skip to content

Display few last log lines while installing dependencies (project create) #1107

Description

Currently, when creating a new project:

npx --yes @shopware-ag/shopware-cli@prerelease project create test-shop

After choosing options and confirming creation, the user sees:

(...)
INFO	Setting up Shopware 6.7.11.0
INFO	Installing dependencies
INFO	Using PHP 8.5 for composer install
⣻ Installing dependencies

The ⣻ Installing dependencies step can take a significant amount of time depending on various factors. To avoid having to check the logs of the Docker container running in the background, it would be helpful to display the last few lines of output inline, so users can understand what is currently happening.

On-demand log toggle:

(...)
INFO	Setting up Shopware 6.7.11.0
INFO	Installing dependencies
INFO	Using PHP 8.5 for composer install
⣻ Installing dependencies (CTRL+L to see live log)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Fields

    No fields configured for Story.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions