self.uninstall¶
Take this CLI off your PATH, and clear what it left behind.
uv removes the tool environment; this removes what the runner placed outside it — the completion hooks (the script and its line in your shell's rc, or the rc would go on sourcing a file that is gone), the cache, and the data directory.
Your config is kept unless you ask for --purge: it is your
writing, and deleting it silently would be the one unforgivable step of
an uninstall. The data directory is shared, though — a plugin keeping
state under data_dir() loses it here, which is the price of living in
the runner's home instead of inventing one.
| Parameter | Type | Default | Description |
|---|---|---|---|
--purge |
flag | false |
also delete your config directory |