update refactoring and add new features
This commit is contained in:
+1
-2
@@ -1158,8 +1158,7 @@ def _run(piped_result: Any, args: List[str], config: Dict[str, Any]) -> int:
|
||||
if not args:
|
||||
if sys.stdin.isatty() and not piped_result:
|
||||
print(
|
||||
"Interactive TUI config editor has been discontinued. "
|
||||
"Showing configuration table instead."
|
||||
"Run `.config <key>` to view or edit a specific setting. "
|
||||
)
|
||||
return _show_config_table(current_config)
|
||||
|
||||
|
||||
+1
-2
@@ -60,8 +60,7 @@ def _run(result: Any, args: List[str], config: Dict[str, Any]) -> int:
|
||||
_add_startup_check(startup_table, "ERROR", "STATUS", detail=str(exc))
|
||||
|
||||
if startup_table.rows:
|
||||
# Mark as rendered to prevent CLI.py from auto-printing it to stdout
|
||||
# (avoiding duplication in TUI logs, while keeping it in TUI Results)
|
||||
# Mark as rendered to prevent CLI.py from auto-printing it to stdout
|
||||
setattr(startup_table, "_rendered_by_cmdlet", True)
|
||||
ctx.set_current_stage_table(startup_table)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user