Skip to content

Commit 96b8b33

Browse files
committed
feat: Add documentation link and prompt in help menu
1 parent d9e1545 commit 96b8b33

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

caracal/flow/app.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,14 @@ def _run_help_flow(self) -> None:
188188
action = show_submenu("help", self.console)
189189
if action is None:
190190
break
191-
191+
192+
if action == "docs":
193+
url = "https://docs.garudexlabs.com"
194+
self.console.print(f" [{Colors.INFO}]Documentation:[/]")
195+
self.console.print(f" [{Colors.HINT}][link={url}]{url}[/]")
196+
self.console.print()
197+
self.console.print(f" [{Colors.HINT}]Press Enter to continue...[/]")
198+
input()
192199
if action == "shortcuts":
193200
self._show_shortcuts()
194201
elif action == "about":

0 commit comments

Comments
 (0)