Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
Upcoming (TBD)
==============

Features
---------
* Add documentation index URL to inline help.


1.57.0 (2026/02/25)
==============

Expand Down
1 change: 1 addition & 0 deletions mycli/constants.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DOCS_URL = 'https://mycli.net/docs'
3 changes: 2 additions & 1 deletion mycli/packages/special/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import os
from typing import Callable

from mycli.constants import DOCS_URL
from mycli.packages.sqlresult import SQLResult

try:
Expand Down Expand Up @@ -165,7 +166,7 @@ def show_help(*_args) -> list[SQLResult]:
for _, value in sorted(COMMANDS.items()):
if not value.hidden:
result.append((value.command, value.shortcut, value.usage, value.description))
return [SQLResult(results=result, headers=headers)]
return [SQLResult(results=result, headers=headers, status=f'Docs index — {DOCS_URL}')]


def show_keyword_help(cur: Cursor, arg: str) -> list[SQLResult]:
Expand Down