diff options
| author | Christophe Besson <cbesson@gmail.com> | 2026-10-15 01:21:52 +0200 |
|---|---|---|
| committer | Christophe Besson <cbesson@gmail.com> | 2026-10-15 01:21:52 +0200 |
| commit | ced66b96f898abccec2526650ab356eb6b82f066 (patch) | |
| tree | 168eaa6b9b1b2fc9c9a1d932aa6573c0d01e974d /packages/meshbay-cli/src/meshbay_cli/__main__.py | |
| parent | 382fcc5f675f9942350013780335315757c245c5 (diff) | |
| download | meshbay-ced66b96f898abccec2526650ab356eb6b82f066.tar.gz | |
feat(cli): search across groups
search dials every group through the pool and matches each index here, on
the Search page's fields (name, folder, title, artist, album), every word
required. A group left out of Search by its operator (search_listed in the
sealed ack) is skipped before its index is asked for. A file several groups
hold is one result, keyed by its content hash, printed from the reader's own
node first, as a path get takes. A group that cannot be searched is named
and the others go on; one waiting for this machine's approval names its code
instead of holding everything up.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'packages/meshbay-cli/src/meshbay_cli/__main__.py')
| -rw-r--r-- | packages/meshbay-cli/src/meshbay_cli/__main__.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/meshbay-cli/src/meshbay_cli/__main__.py b/packages/meshbay-cli/src/meshbay_cli/__main__.py index a29b528..dbb5a19 100644 --- a/packages/meshbay-cli/src/meshbay_cli/__main__.py +++ b/packages/meshbay-cli/src/meshbay_cli/__main__.py @@ -25,13 +25,14 @@ from .commands import ( ls, put, rm, + search, trust, ) from .commands.context import Context from .errors import INTERRUPTED, USAGE, CliError ACTIONS = {"login": login, "logout": logout, "groups": groups, "invitations": invitations, - "join": join, "decline": decline, "leave": leave, "ls": ls, "get": get, + "join": join, "decline": decline, "leave": leave, "ls": ls, "search": search, "get": get, "put": put, "rm": rm, "devices": devices, "trust": trust, "browser-access": browser_access} |