MCPcopy Create free account
hub / github.com/IBM/mcp-cli / get_theme

Method get_theme

src/mcp_cli/utils/preferences.py:221–223  ·  view source on GitHub ↗

Get current theme.

(self)

Source from the content-addressed store, hash-verified

219 json.dump(self.preferences.to_dict(), f, indent=2)
220
221 def get_theme(self) -> str:
222 """Get current theme."""
223 return self.preferences.ui.theme
224
225 def set_theme(self, theme: str) -> None:
226 """Set and persist theme.

Callers 8

main_callbackFunction · 0.80
_chat_commandFunction · 0.80
_interactive_commandFunction · 0.80
executeMethod · 0.80
executeMethod · 0.80
executeMethod · 0.80

Calls

no outgoing calls

Tested by 2