leon-ai / leon-cli

⌨️ Command-line interface (CLI) for a better use of Leon, your open-source personal assistant. GNU/Linux, macOS and Windows supported.
https://getleon.ai
MIT License
176 stars 21 forks source link

[Bug] Reinstalling/Updating the CLI remove the config and logs folders #171

Closed theoludwig closed 2 years ago

theoludwig commented 2 years ago

Steps To Reproduce

  1. npm install --global @leon-ai/cli
  2. leon create birth
  3. leon start (it is working)
  4. npm install --global @leon-ai/cli
  5. leon start (not working because it could not find the instance config.json does not exist anymore)

The current behavior

Reinstalling the CLI removes the logs and config folder so old instances are still on our computer but not saved in config.json.

The expected behavior

Reinstalling the CLI and still being able to running leon start if we already installed a Leon instance.

theoludwig commented 2 years ago

✨ [CLI 1.1.0] Reinstalling/Updating the CLI remove the config and logs folders

github-actions[bot] commented 2 years ago

:tada: This issue has been resolved in version 1.0.2 :tada:

The release is available on:

Your semantic-release bot :package::rocket: