Present the repo as a scoped bookmarks API product and drop homelab-only notes.
This commit is contained in:
+2
-2
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Call Firefox Agent Bridge with a Bearer token from FAB_TOKEN or a file."""
|
||||
"""Call Bookmarks API with a Bearer token from FAB_TOKEN or a file."""
|
||||
from __future__ import annotations
|
||||
|
||||
import argparse
|
||||
@@ -62,7 +62,7 @@ def call(
|
||||
|
||||
|
||||
def main() -> int:
|
||||
parser = argparse.ArgumentParser(description="Call Firefox Agent Bridge")
|
||||
parser = argparse.ArgumentParser(description="Call Bookmarks API")
|
||||
parser.add_argument("method", help="e.g. bookmarks.search or meta.methods")
|
||||
parser.add_argument("args_json", nargs="?", default="[]", help="JSON array of arguments")
|
||||
parser.add_argument("--url", default=DEFAULT_BASE)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# Register the native messaging host for the current Windows user.
|
||||
# Does not load the Firefox extension — see README / AGENTS.md.
|
||||
# Does not load the add-on — see README / AGENTS.md.
|
||||
|
||||
$ErrorActionPreference = "Stop"
|
||||
$Root = Split-Path -Parent $PSScriptRoot
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Secrets are issued in the add-on UI, not from this script."""
|
||||
from __future__ import annotations
|
||||
|
||||
import sys
|
||||
|
||||
print(
|
||||
"Generate and revoke clients in Firefox: Bookmarks API toolbar → Manage clients.",
|
||||
file=sys.stderr,
|
||||
)
|
||||
raise SystemExit(2)
|
||||
Reference in New Issue
Block a user