Commit b548468
authored
Optional dmenu support in sndev (#2603)
If dmenu is installed, `sndev start` will now prompt the user to select which profiles should be used with docker-compose.
However, this means COMPOSE_PROFILES in .env.local is now ignored during `sndev start` if dmenu is installed, but not during `sndev delete`.
This means that `sndev delete` would not delete containers previously started by `sndev start` anymore.
To fix this, and since I think this is what it should have done anyway, `sndev delete` now also ignores COMPOSE_PROFILES from .env.local and always deletes all containers instead.1 parent 8c045c5 commit b548468
1 file changed
+27
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | | - | |
44 | 42 | | |
45 | | - | |
46 | | - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
47 | 55 | | |
| 56 | + | |
48 | 57 | | |
49 | | - | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
50 | 71 | | |
51 | 72 | | |
52 | 73 | | |
| |||
180 | 201 | | |
181 | 202 | | |
182 | 203 | | |
183 | | - | |
| 204 | + | |
184 | 205 | | |
185 | 206 | | |
186 | 207 | | |
| |||
0 commit comments