Cyfrin / aderyn-vscode

MIT License
1 stars 1 forks source link

Feature: Persistent kv store #7

Closed TilakMaddy closed 2 months ago

TilakMaddy commented 4 months ago

The motivation for this is as follows:

Sidebar should load cached values for scope and exclude. Therefore we should have the ability to persist these values in the user's home folder as follows

cat ~/aderyn-vs-code-tests.json
{
  "/absolute/path/to/project1": {
    "scope": "src/",
    "exclude": "lib/"
  },
  "/absolute/path/to/project2": {}
}

This PR gives tools for doing so. (later if sidebar PR is approved, then this might also make sense)

alexroan commented 3 months ago

Is this a new json format that only the extension will know how to handle?

I'd rather define the json KV store on the CLI level, not the extension.

alexroan commented 2 months ago

Closing for staleness