diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index b12f6a7..fed5ce4 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -23,7 +23,7 @@ jobs:
- name: Build Docs
run: |
- make svgs
+ FORCE_COLOR=1 make svgs
make docs
- name: Upload artifact
diff --git a/docs/svgs/viv-cache-help.svg b/docs/svgs/viv-cache-help.svg
new file mode 100644
index 0000000..ec3d67a
--- /dev/null
+++ b/docs/svgs/viv-cache-help.svg
@@ -0,0 +1,104 @@
+
diff --git a/docs/svgs/viv-cache-info-help.svg b/docs/svgs/viv-cache-info-help.svg
new file mode 100644
index 0000000..5c91e96
--- /dev/null
+++ b/docs/svgs/viv-cache-info-help.svg
@@ -0,0 +1,108 @@
+
diff --git a/docs/svgs/viv-cache-remove-help.svg b/docs/svgs/viv-cache-remove-help.svg
new file mode 100644
index 0000000..58a80f8
--- /dev/null
+++ b/docs/svgs/viv-cache-remove-help.svg
@@ -0,0 +1,96 @@
+
diff --git a/docs/svgs/viv-exe-help.svg b/docs/svgs/viv-exe-help.svg
new file mode 100644
index 0000000..cbf6eaf
--- /dev/null
+++ b/docs/svgs/viv-exe-help.svg
@@ -0,0 +1,116 @@
+
diff --git a/docs/svgs/viv-freeze-help.svg b/docs/svgs/viv-freeze-help.svg
new file mode 100644
index 0000000..f15f337
--- /dev/null
+++ b/docs/svgs/viv-freeze-help.svg
@@ -0,0 +1,113 @@
+
diff --git a/docs/svgs/viv-help.svg b/docs/svgs/viv-help.svg
new file mode 100644
index 0000000..22ed303
--- /dev/null
+++ b/docs/svgs/viv-help.svg
@@ -0,0 +1,138 @@
+
diff --git a/docs/svgs/viv-list-help.svg b/docs/svgs/viv-list-help.svg
new file mode 100644
index 0000000..4e4bc41
--- /dev/null
+++ b/docs/svgs/viv-list-help.svg
@@ -0,0 +1,137 @@
+
diff --git a/docs/svgs/viv-manage-help.svg b/docs/svgs/viv-manage-help.svg
new file mode 100644
index 0000000..254d133
--- /dev/null
+++ b/docs/svgs/viv-manage-help.svg
@@ -0,0 +1,112 @@
+
diff --git a/docs/svgs/viv-manage-install-help.svg b/docs/svgs/viv-manage-install-help.svg
new file mode 100644
index 0000000..eedcf58
--- /dev/null
+++ b/docs/svgs/viv-manage-install-help.svg
@@ -0,0 +1,101 @@
+
diff --git a/docs/svgs/viv-manage-purge-help.svg b/docs/svgs/viv-manage-purge-help.svg
new file mode 100644
index 0000000..c9fc5f7
--- /dev/null
+++ b/docs/svgs/viv-manage-purge-help.svg
@@ -0,0 +1,101 @@
+
diff --git a/docs/svgs/viv-manage-show-help.svg b/docs/svgs/viv-manage-show-help.svg
new file mode 100644
index 0000000..a92163f
--- /dev/null
+++ b/docs/svgs/viv-manage-show-help.svg
@@ -0,0 +1,88 @@
+
diff --git a/docs/svgs/viv-manage-update-help.svg b/docs/svgs/viv-manage-update-help.svg
new file mode 100644
index 0000000..6f1dfb0
--- /dev/null
+++ b/docs/svgs/viv-manage-update-help.svg
@@ -0,0 +1,101 @@
+
diff --git a/docs/svgs/viv-run-help.svg b/docs/svgs/viv-run-help.svg
new file mode 100644
index 0000000..f14c3ae
--- /dev/null
+++ b/docs/svgs/viv-run-help.svg
@@ -0,0 +1,137 @@
+
diff --git a/docs/svgs/viv-shim-help.svg b/docs/svgs/viv-shim-help.svg
new file mode 100644
index 0000000..f4e708a
--- /dev/null
+++ b/docs/svgs/viv-shim-help.svg
@@ -0,0 +1,149 @@
+
diff --git a/scripts/generate-svgs.py b/scripts/generate-svgs.py
index 5f33d4a..43c2aaf 100755
--- a/scripts/generate-svgs.py
+++ b/scripts/generate-svgs.py
@@ -38,18 +38,9 @@ cli_doc = """
def yartsu(output: Path, args: Tuple[str, str] | str) -> None:
if isinstance(args, str):
args = (args,)
- cmd = [
- "viv",
- *args,
- "--help",
- "|",
- "yartsu",
- "-w",
- "70",
- "-o",
- str(output),
- ]
- run(" ".join(cmd), shell=True)
+ viv_cmd = " ".join(("viv", *args, "--help"))
+ cmd = f"{viv_cmd} | yartsu -w 70 -t '{viv_cmd}' -o {output}"
+ run(cmd, shell=True)
if not SAVE_PATH.is_dir():
diff --git a/src/viv/viv.py b/src/viv/viv.py
index 730a242..11beff0 100755
--- a/src/viv/viv.py
+++ b/src/viv/viv.py
@@ -55,7 +55,7 @@ from typing import (
from urllib.error import HTTPError
from urllib.request import urlopen
-__version__ = "23.8a3-11-g6b48e8c-dev"
+__version__ = "23.8a3-15-gfaca36d-dev"
class Spinner:
@@ -188,7 +188,7 @@ class Ansi:
self.option: str = self.yellow
self.metavar: str = "\033[33m" # normal yellow
- if Env().no_color or not sys.stderr.isatty():
+ if not Env().force_color and (Env().no_color or not sys.stderr.isatty()):
for attr in self.__dict__:
setattr(self, attr, "")