feat: Added uninstall command.

This commit is contained in:
2026-07-13 14:09:44 -04:00
parent d4c935ec07
commit 222a0a3452
5 changed files with 171 additions and 3 deletions
+7
View File
@@ -143,6 +143,13 @@ key somewhere, otherwise your data could be lost forever.`,
flags = {.Help},
args = {{name = "shell", ntype = "string", completion = "shells"}},
},
{
name = "uninstall",
usage = "envr uninstall",
short = "Remove envr configuration and database",
long = "This will remove all files generated by envr from your system.",
flags = GLOBAL_FLAGS + {.Force},
},
}
// Caller is responsible for calling delete_command(cmd).