Command
tent uninstall
Removes Tent.js from this computer: the folder of the install, and the line that put its bin/ on the path of your terminals. It asks first.
Usage
tent uninstallExample
tent uninstallThe command asks whether to remove the install. It reads the answer from the terminal, or from its input where no person sits at it: echo yes | tent uninstall. With nobody to answer it removes nothing, and ends with 2.
It is the install's own command: typed in a project, it is never handed to the project's own version. Installed with npm, type it before npm uninstall -g tentjs, which removes the package: the command then says so.
Output
With --json, the folder it removed:
{ "ok": true, "value": { "removed": "/home/ada/.tent" }, "findings": [] }After a no, removed is false and nothing was removed. On Windows a program file of the very command that removes the install goes a moment after the command has ended.
Errors
code.T0013 where nobody answered the question, and where the folder holds no install.