Is it possible to get just the name of the current project? I want something like:
composer show --self --name-only
1. Show current project
composer show --self
2. Show name of all packages
composer show --name-only
Is it possible to get just the name of the current project? I want something like:
composer show --self --name-only
composer show --self
composer show --name-only
It's possible with some shell mess, but it's not ideal.
composer show -s | grep 'name' | head -1 | awk '{print $3}'