move socket path into /tmp/.browser_cli subfolder with registry
This commit is contained in:
+9
-1
@@ -41,8 +41,16 @@ NATIVE_HOST_DIRS = {
|
||||
|
||||
|
||||
@click.group()
|
||||
def main():
|
||||
@click.option(
|
||||
"--browser", default=None, metavar="ALIAS",
|
||||
help="Browser profile alias to target (required when multiple browsers are active).",
|
||||
)
|
||||
@click.pass_context
|
||||
def main(ctx, browser):
|
||||
"""Control your running browser from the terminal via a Chrome extension."""
|
||||
ctx.ensure_object(dict)
|
||||
if browser:
|
||||
os.environ["BROWSER_CLI_PROFILE"] = browser
|
||||
|
||||
|
||||
# ── Sub-command groups ─────────────────────────────────────────────────────────
|
||||
|
||||
Reference in New Issue
Block a user