feat: refine menu lifecycle handling and make bottom bar optional

- Allow `bottom_bar` to be `None` in `Falyx` initialization and validation logic.
- Updated error messaging to reflect `None` as a valid bottom bar state.
- Set `FalyxMode.MENU` explicitly when entering interactive menu mode.
- Simplified `menu()` loop by removing unnecessary `asyncio.create_task` wrapping.
- Added `always_start_menu` flag to `run()` to allow returning to the menu after CLI execution.
- Prevent forced `sys.exit()` when `always_start_menu=True` is provided.
- Bumped version to 0.1.86
This commit is contained in:
2025-11-23 19:05:03 -05:00
parent 1ce1b2385b
commit 79f7bd6a60
3 changed files with 11 additions and 11 deletions

View File

@@ -1,6 +1,6 @@
[tool.poetry]
name = "falyx"
version = "0.1.85"
version = "0.1.86"
description = "Reliable and introspectable async CLI action framework."
authors = ["Roland Thomas Jr <roland@rtj.dev>"]
license = "MIT"