latitude icon indicating copy to clipboard operation
latitude copied to clipboard

Remove mutual version dependency between app and CLI

Open csansoon opened this issue 9 months ago • 0 comments

Feature Description

Ever since we started developing the CLI, we have had a mutual dependency between the app and the CLI, where you cannot use a specific version of the app without changing to the specific compatible version of the CLI. This makes no sense really. I, as a user, may want to use an older version of the app for any reason, but I can't if I don't set my CLI to the specific version that is compatible to that one, and I don't even know what that version is.

To fix this, we could move all of the possible server-related logic from the CLI to the server package as scripts. This way, how the CLI starts and handles the server, which is required by the server, sill not be dependant on the CLI version, but rather on the server version. User will be able to use the same CLI version for any version of the server.

Current Solution / Workarounds

Currently, updating the the server will make it not work unless the user updates the CLI too. Also, running a downgraded server version is not possible unless the CLI is downgraded too to the specific compatible version, which is not known by the user.

csansoon avatar May 16 '24 10:05 csansoon