Kill your Switches with ease
npm install ks-killerKill your KSes with ease
KillSwitch is a lightweight mechanism that lets you roll back code changes if any regression is found. It is very important, but too many KillSwitches have a negative effect on the readability and performance. So graduating them on time is necessary.
After spending so much time graduating KSes manually, we can't help but ask: Is there a better way? Yes, enter ks-killer!
``bash`
npm i -g ks-killer
// OR
yarn global add ks-killer
`bashDate.parse
$ cd your/projectgraduate a specific ks
$ ks-killer graduate multiple ks by date
input should be a valid date supported by
``e.g: ks-killer --before-date 12/31/2021
$ ks-killer --before-date You can also tell it where to find the KS declaration by specifying the -k or -p flag.
This boosts performance because we don't need to scan many source files just to find the declaration.
$ ks-killer