diff --git a/README.md b/README.md index c0b4dc5..879ca54 100644 --- a/README.md +++ b/README.md @@ -81,7 +81,25 @@ quickup logout This only removes the OAuth token — it does not affect tokens set via `CLICKUP_TOKEN` or `.env`. -### `quickup` (default) - List Tasks +### `quickup` (no arguments) - Recent Commands + +When run with no arguments, QuickUp! displays the 10 most recent commands you've run: + +```bash +quickup +``` + +``` +Recent commands: + + 1. 2026-03-28 14:32 quickup sprint --assignee john + 2. 2026-03-28 10:15 quickup --team 123 --list 456 + 3. 2026-03-27 09:00 quickup task abc123 --comments +``` + +Command history is stored at `~/.quickup/history.json` (last 50 entries). + +### `quickup [OPTIONS]` - List Tasks List all tasks from a ClickUp list, grouped by status. diff --git a/docs/source/commands.rst b/docs/source/commands.rst index f076b1f..37cff9d 100644 --- a/docs/source/commands.rst +++ b/docs/source/commands.rst @@ -60,7 +60,32 @@ Examples quickup logout -``quickup`` (default) - List Tasks +``quickup`` (no arguments) - Recent Commands +--------------------------------------------- + +When run with no arguments, QuickUp! displays the 10 most recent commands you've run. + +Synopsis +~~~~~~~~ + +.. code-block:: bash + + quickup + +Example output +~~~~~~~~~~~~~~ + +.. code-block:: text + + Recent commands: + + 1. 2026-03-28 14:32 quickup sprint --assignee john + 2. 2026-03-28 10:15 quickup --team 123 --list 456 + 3. 2026-03-27 09:00 quickup task abc123 --comments + +Command history is stored at ``~/.quickup/history.json`` (last 50 entries). + +``quickup [OPTIONS]`` - List Tasks ---------------------------------- List all tasks from a ClickUp list, grouped by status. diff --git a/quickup/cli/auth.py b/quickup/cli/auth.py index 61c9d42..e48865e 100644 --- a/quickup/cli/auth.py +++ b/quickup/cli/auth.py @@ -112,7 +112,8 @@ def _respond(self, status: int, message: str) -> None: