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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user