When using the Lenra CLI we might want to keep the development data between two tests.
When creating many apps we also want to separate one app data from another one.
Add the possibility to keep the data when wanted by the user. It should be a new option to add this to the terminal context.
A shortcut should be added to the dev mode (K as keep ?).
Technical recommandation
Create two folders in the .lenra forder to keep the data only for the given app.
An alternative could be to define volumes in the compose.yml file and define a unique name to the projet (path hash ?) to avoid conflicts between lenra apps
What should be done
When using the Lenra CLI we might want to keep the development data between two tests. When creating many apps we also want to separate one app data from another one.
Add the possibility to keep the data when wanted by the user. It should be a new option to add this to the terminal context.
A shortcut should be added to the dev mode (
K
as keep ?).Technical recommandation
Create two folders in the
.lenra
forder to keep the data only for the given app.Ecological concerns
By default the stop command remove de volumes.