-
Notifications
You must be signed in to change notification settings - Fork 52
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Currently, we need to pass the name of the compose file to set it as active. This may require copy-pasting from the output of sourced compose list
.
As an example:
✔ se7entyse7en in ~/Projects/src-d/sourced-ce (master) $ sourced compose list
https://gist.githubusercontent.com/carlosms/aed2c4b0d59358a563ba4f2f41def6f2/raw/1148b6aff24387dd67d5b0c7b05ba1ea8b78a9e2/docker-compose.yml
* master
In this case I'd need to run:
sourced compose set https://gist.githubusercontent.com/carlosms/aed2c4b0d59358a563ba4f2f41def6f2/raw/1148b6aff24387dd67d5b0c7b05ba1ea8b78a9e2/docker-compose.yml
It would be handy if the output of list
is:
✔ se7entyse7en in ~/Projects/src-d/sourced-ce (master) $ sourced compose list
[1] https://gist.githubusercontent.com/carlosms/aed2c4b0d59358a563ba4f2f41def6f2/raw/1148b6aff24387dd67d5b0c7b05ba1ea8b78a9e2/docker-compose.yml
[2] * master
so that I can then simply run:
sourced compose set 1
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request