mirror of
https://github.com/profullstack/logicsrc.git
synced 2026-11-30 17:07:50 +00:00
feat(teams): clean archives stale keys to <project>--<env>-archive (CLI 0.11.0)
logicsrc teams clean <team> <project> <env> [--key K] [--dead] [--approve] moves keys out of a live vault into its archive vault. Nothing is deleted: a key leaves the live vault only after its archived copy reads back with the same fingerprint. --dead finds URL values whose host no longer resolves and Supabase JWTs whose project ref is such a host. A different value already archived under a name is kept; the new copy gets a __<UTC stamp> suffix. Each archived key has an __ARCHIVE__<NAME> entry (from, why, when, who). Dry run unless --approve. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
ae6298851b
commit
e18a473fc8
4 changed files with 308 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@logicsrc/cli",
|
||||
"version": "0.10.0",
|
||||
"version": "0.11.0",
|
||||
"description": "LogicSRC CLI: every LogicSRC standard and tool as one command.",
|
||||
"type": "module",
|
||||
"main": "./dist/index.js",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue