fission-codes / fission-vscode

A vscode extension for fast app publishing powered by IPFS ⚡️
https://marketplace.visualstudio.com/items?itemName=fissioncodes.fission
13 stars 1 forks source link

Add CLI version check #8

Open bgins opened 3 years ago

bgins commented 3 years ago

We currently ask the user to install the CLI as a separate step before installing the extension. The CLI version and extension version may fall out of sync, and some commands may fail.

Let's add a CLI version check and ask users to update their CLI if they run a command that will fail.

We can probably run fission --version and check if the version matches a hardcoded value in the extension. Even better, we could version each command to only show users warnings for commands that will fail.