Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/IBM/mcp-cli
/ functions
Functions
6,849 in github.com/IBM/mcp-cli
⨍
Functions
6,849
◇
Types & classes
1,312
↳
Endpoints
189
Method
test_code_with_backticks
Test code blocks with backticks.
tests/display/test_models.py:331
Method
test_collapses_spaces
(self)
tests/chat/test_attachments.py:103
Method
test_combined_decorators_runtime_error
Test combined decorators handle runtime errors.
tests/commands/test_decorators.py:229
Method
test_combined_decorators_validation_error
Test combined decorators handle validation errors.
tests/commands/test_decorators.py:216
Method
test_combines_strip_and_validate
prepare_messages_for_api strips reasoning AND validates tool messages.
tests/chat/test_conversation.py:1859
Method
test_command_action_is_str
Test CommandAction is a string enum.
tests/commands/test_enums.py:42
Method
test_command_action_values
Test all CommandAction values exist.
tests/commands/test_enums.py:22
Method
test_command_exception
(self, ui_manager)
tests/chat/test_ui_manager_coverage.py:726
Method
test_command_execution
Test executing a command.
tests/commands/test_unified_registry.py:247
Method
test_command_execution
Test command execution.
tests/commands/test_base.py:172
Method
test_command_execution_error
Test command that raises an exception.
tests/adapters/test_interactive_adapter.py:196
Method
test_command_execution_exception
Exception during execute() is caught and reported.
tests/adapters/test_chat_adapter.py:329
Method
test_command_failure_no_error_message
Failed result without explicit error prints a generic message.
tests/adapters/test_chat_adapter.py:315
Method
test_command_failure_with_error
Failed result.error is printed.
tests/adapters/test_chat_adapter.py:300
Method
test_command_handled
(self, ui_manager)
tests/chat/test_ui_manager_coverage.py:695
Method
test_command_lookup_fallback_to_base
If full_path lookup fails, falls back to base command name.
tests/adapters/test_chat_adapter.py:772
Method
test_command_not_found
Test command not found error.
tests/commands/test_exceptions.py:89
Method
test_command_not_handled
(self, ui_manager)
tests/chat/test_ui_manager_coverage.py:705
Method
test_command_output_is_printed
Successful command output is printed via output.print.
tests/adapters/test_chat_adapter.py:259
Method
test_command_output_with_count_data
Result data with a 'count' key prints a total line.
tests/adapters/test_chat_adapter.py:273
Method
test_command_properties
Test command properties.
tests/commands/test_base.py:158
Method
test_command_properties
Test command properties.
tests/commands/definitions/test_providers_command.py:17
Method
test_command_properties
Test command properties.
tests/commands/definitions/test_tools_command_extended.py:17
Method
test_command_properties
Test command properties.
tests/commands/definitions/test_prompts_command.py:16
Method
test_command_properties
Test command properties.
tests/commands/definitions/test_clear_command.py:16
Method
test_command_properties
Test command properties.
tests/commands/definitions/test_models_command.py:17
Method
test_command_properties
Test command properties.
tests/commands/definitions/test_servers_command.py:38
Method
test_command_properties
Test command properties.
tests/commands/definitions/test_token_command.py:17
Method
test_command_properties
Test command properties.
tests/commands/definitions/test_conversation_command.py:18
Method
test_command_properties
Test command properties.
tests/commands/definitions/test_theme_command.py:17
Method
test_command_properties
Test command properties.
tests/commands/definitions/test_theme_command.py:75
Method
test_command_properties
Test command properties.
tests/commands/definitions/test_help_command.py:17
Method
test_command_properties
Test command properties.
tests/commands/definitions/test_server_singular.py:16
Method
test_command_properties
Test command basic properties.
tests/commands/definitions/test_execute_tool_command.py:67
Method
test_command_properties
Test command properties.
tests/commands/definitions/test_exit_command.py:15
Method
test_command_properties
Test command properties.
tests/commands/definitions/test_themes_plural_command.py:16
Method
test_command_properties
Test command properties.
tests/commands/definitions/test_verbose_command.py:17
Method
test_command_properties
Test command properties.
tests/commands/definitions/test_ping_command.py:16
Method
test_command_properties
Test command properties.
tests/commands/definitions/test_resources_command.py:16
Method
test_command_properties
Test command properties.
tests/commands/definitions/test_tools_command_simple.py:17
Method
test_command_registered_with_name
The command is registered on the Typer app with its name.
tests/adapters/test_cli_adapter_coverage.py:221
Method
test_command_success_no_output
Successful result with no output still returns True.
tests/adapters/test_chat_adapter.py:289
Method
test_command_triggers_exit
(self, ui_manager)
tests/chat/test_ui_manager_coverage.py:715
Method
test_command_uses_description_when_no_help_text
The wrapper docstring comes from description when help_text is None.
tests/adapters/test_cli_adapter_coverage.py:287
Method
test_command_uses_help_text_if_available
The wrapper docstring comes from help_text when available.
tests/adapters/test_cli_adapter_coverage.py:272
Method
test_command_validation
Test command parameter validation.
tests/commands/test_unified_registry.py:259
Method
test_command_validation_error
Test command with validation error.
tests/adapters/test_interactive_adapter.py:182
Method
test_command_with_aliases
Aliases are registered as hidden commands.
tests/adapters/test_cli_adapter_coverage.py:232
Method
test_command_with_clear_action
Test command that requests screen clear.
tests/adapters/test_interactive_adapter.py:222
Method
test_command_with_context
Test command that requires context.
tests/adapters/test_interactive_adapter.py:160
Method
test_command_with_exit_action
Test command that requests exit.
tests/adapters/test_interactive_adapter.py:210
Method
test_command_with_flag
Boolean flags are parsed correctly.
tests/adapters/test_chat_adapter.py:226
Method
test_command_with_multiple_modes
Test command that supports multiple modes.
tests/commands/test_unified_registry.py:223
Method
test_command_with_option_value
Arguments are parsed and passed to the command.
tests/adapters/test_chat_adapter.py:215
Method
test_command_with_parameters
Parameters are converted into the wrapper's annotations.
tests/adapters/test_cli_adapter_coverage.py:247
Method
test_command_with_positional_args
Positional args are collected into the 'args' list.
tests/adapters/test_chat_adapter.py:248
Method
test_command_with_short_flag
Short flags like -v are treated as boolean True.
tests/adapters/test_chat_adapter.py:237
Method
test_command_with_space_returns_params
After command name + space, parameter completions are returned.
tests/adapters/test_chat_adapter.py:701
Method
test_common_extensions_covered
(self)
tests/chat/test_attachments.py:394
Method
test_complete_interrupted
Test interrupted completion.
tests/display/test_models.py:227
Method
test_complete_normal
Test normal completion.
tests/display/test_models.py:214
Method
test_completer_empty_text
No completions for empty text.
tests/interactive/test_shell_coverage.py:41
Method
test_completer_full_match
Full command name still completes.
tests/interactive/test_shell_coverage.py:69
Method
test_completer_init
(self)
tests/interactive/test_shell_coverage.py:29
Method
test_completer_leading_whitespace
Leading whitespace is stripped before checking /.
tests/interactive/test_shell_coverage.py:95
Method
test_completer_multiple_matches
Multiple matching commands.
tests/interactive/test_shell_coverage.py:105
Method
test_completer_no_match
No completions for unrecognized command prefix.
tests/interactive/test_shell_coverage.py:78
Method
test_completer_no_slash_prefix
No completions if text does not start with /.
tests/interactive/test_shell_coverage.py:33
Method
test_completer_partial_match
Only matching commands returned.
tests/interactive/test_shell_coverage.py:60
Method
test_completer_q_prefix
Prefix matching for q -> quit.
tests/interactive/test_shell_coverage.py:113
Method
test_completer_slash_only
All commands match when only / is typed.
tests/interactive/test_shell_coverage.py:49
Method
test_completer_start_position
Start position replaces the entire typed text.
tests/interactive/test_shell_coverage.py:86
Method
test_completions_sorted
Results are always sorted.
tests/adapters/test_interactive_adapter_extended.py:505
Method
test_composite_avoids_duplicates
Test that composite styles process all parts.
tests/display/test_color_converter.py:77
Method
test_composite_styles
Test composite styles like 'bold yellow'.
tests/display/test_color_converter.py:65
Method
test_composite_with_bright
Test composite with bright colors.
tests/display/test_color_converter.py:71
Method
test_composite_with_unknown
Test composite with unknown color.
tests/display/test_color_converter.py:89
Method
test_concurrent_oauth_flows_serialized
Multiple concurrent _handle_oauth_flow calls are serialized by the lock.
tests/tools/test_oauth_safety.py:24
Method
test_concurrent_streaming_and_tool
Test streaming stops before tool starts.
tests/display/test_manager.py:172
Method
test_conditional_processing
Test conditional processing based on result.
tests/model_management/test_discovery_result.py:358
Method
test_config_file
Test config file path management.
tests/utils/test_preferences.py:595
Function
test_config_loader_init
Test ConfigLoader initialization.
tests/tools/test_config_loader.py:58
Method
test_config_manager_get_config_after_init
Test get_config returns config after initialization.
tests/config/test_config_manager.py:328
Method
test_config_manager_get_config_not_initialized
Test get_config raises error when not initialized.
tests/config/test_config_manager.py:320
Method
test_config_manager_initialize
Test ConfigManager initialize method.
tests/config/test_config_manager.py:307
Method
test_config_manager_reload
Test ConfigManager reload method.
tests/config/test_config_manager.py:359
Method
test_config_manager_reload_without_path
Test reload raises error when no path set.
tests/config/test_config_manager.py:377
Method
test_config_manager_reset
Test ConfigManager reset method.
tests/config/test_config_manager.py:385
Method
test_config_manager_save
Test ConfigManager save method.
tests/config/test_config_manager.py:340
Method
test_config_manager_singleton
Test ConfigManager follows singleton pattern.
tests/config/test_config_manager.py:301
Function
test_config_singleton_pattern
Test that config manager follows singleton pattern.
tests/utils/test_config.py:104
Method
test_config_with_capabilities
Test that config and capabilities can work together.
tests/model_management/test_provider.py:396
Method
test_configure_defaults_api_base_to_empty
(self, resolver, mock_mm)
tests/core/test_model_resolver.py:168
Method
test_configure_limits
Test configuring runtime limits.
tests/chat/state/test_manager.py:147
Method
test_configure_mcp_server_logging_no_suppress
Test configure_mcp_server_logging with suppress=False.
tests/config/test_logging.py:133
Method
test_configure_mcp_server_logging_suppress
Test configure_mcp_server_logging with suppress=True.
tests/config/test_logging.py:125
Method
test_configure_with_key_and_base
(self, resolver, mock_mm)
tests/core/test_model_resolver.py:162
Method
test_confirm_empty_default_yes
(self, ui_manager)
tests/chat/test_ui_manager_coverage.py:315
Method
test_confirm_empty_string
(self, ui_manager)
tests/chat/test_ui_manager_coverage.py:351
Method
test_confirm_invalid_json_string
(self, ui_manager)
tests/chat/test_ui_manager_coverage.py:333
← previous
next →
2,801–2,900 of 6,849, ranked by callers