up icon indicating copy to clipboard operation
up copied to clipboard

`up run <args>` doesn't seem to work as expected

Open KCErb opened this issue 4 years ago • 0 comments

This is in my up.yml

main_container: lucky
docker_compose_command: docker-compose -f Docker/docker-compose.yml -f Docker/docker-compose.dev.yml

So I expected

up run -e LUCKY_ENV=test lucky db.create

To resolve to

docker-compose -f Docker/docker-compose.yml -f Docker/docker-compose.dev.yml run --rm -e LUCKY_ENV=test lucky db.create

instead the (extremely good and helpful) output says it ran (note the extra lucky run in the middle):

docker-compose -f Docker/docker-compose.yml -f Docker/docker-compose.dev.yml run --rm lucky run -e LUCKY_ENV=test lucky db.create

Looking through the code I don't see why this would be yet. I'll submit a PR if I can debug it.

KCErb avatar Apr 22 '20 10:04 KCErb