Files
browser-use/browser_use/skill_cli/__init__.py
ShawnPana 0dc2fc5a6f remove run command and agent infrastructure from CLI
The `run` command pulled in heavy SDK dependencies (openai, anthropic,
google), had a bug (await on sync get_llm), and is superseded by
`browser-use cloud` for agent execution. CLI is now purely a browser
automation interface.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 11:44:13 -07:00

24 lines
621 B
Python

"""Browser-use CLI package.
This package provides a fast command-line interface for browser automation.
The CLI uses a daemon architecture for persistent browser sessions.
Usage:
browser-use open https://example.com
browser-use click 5
browser-use type "Hello World"
browser-use python "print(browser.url)"
browser-use close
"""
__all__ = ['main']
def __getattr__(name: str):
"""Lazy import to avoid runpy warnings when running as module."""
if name == 'main':
from browser_use.skill_cli.main import main
return main
raise AttributeError(f'module {__name__!r} has no attribute {name!r}')