Skip to content

enhancement: add reset command to sg that removes key value pairs from secrets

Created by: chtnnh

Fixes #26555 (closed)

Some work still needs to be done, as the implementation is failing on some test cases as follows:

sg.secrets.json:

{
   "foo": "bar",
   "tea": "chai",
   "abc": "def"
}

Terminal:

sg reset foo tea gibberish

Results in the following changes to sg.secrets.json:

{"abc":"def", "tea":"chai"}

Merge request reports

Loading