vendor_connectors.cli
Unified CLI for Vendor Connectors.
This module provides a command-line interface to all vendor connectors using the central registry for discovery.
Usage:
List available connectors
Section titled “List available connectors”vendor-connectors list
# Call any connector methodvendor-connectors call <connector> <method> [--arg value ...]
# Interactive modevendor-connectors shell
# Start MCP servervendor-connectors mcp
# Specific connector shortcuts (if implemented)vendor-connectors jules sourcesvendor-connectors cursor agentsModule Contents
Section titled “Module Contents”Functions
Section titled “Functions”_json_output | Format data as JSON for output. |
|---|---|
_parse_arg_value | Parse a CLI argument value, attempting JSON decode. |
cmd_list | List available connectors. |
cmd_call | Call a connector method. |
cmd_methods | List methods for a connector. |
cmd_mcp | Start MCP server. |
cmd_info | Show info about a specific connector. |
main | Main CLI entry point. |
vendor_connectors.cli._json_output(data: Any) → str
Section titled “vendor_connectors.cli._json_output(data: Any) → str”Format data as JSON for output.
vendor_connectors.cli._parse_arg_value(value: str) → Any
Section titled “vendor_connectors.cli._parse_arg_value(value: str) → Any”Parse a CLI argument value, attempting JSON decode.
vendor_connectors.cli.cmd_list(args: argparse.Namespace) → int
Section titled “vendor_connectors.cli.cmd_list(args: argparse.Namespace) → int”List available connectors.
vendor_connectors.cli.cmd_call(args: argparse.Namespace) → int
Section titled “vendor_connectors.cli.cmd_call(args: argparse.Namespace) → int”Call a connector method.
vendor_connectors.cli.cmd_methods(args: argparse.Namespace) → int
Section titled “vendor_connectors.cli.cmd_methods(args: argparse.Namespace) → int”List methods for a connector.
vendor_connectors.cli.cmd_mcp(args: argparse.Namespace) → int
Section titled “vendor_connectors.cli.cmd_mcp(args: argparse.Namespace) → int”Start MCP server.
vendor_connectors.cli.cmd_info(args: argparse.Namespace) → int
Section titled “vendor_connectors.cli.cmd_info(args: argparse.Namespace) → int”Show info about a specific connector.
vendor_connectors.cli.main() → int
Section titled “vendor_connectors.cli.main() → int”Main CLI entry point.