Skip to content

CLI: interactive add-source wizard #8

Description

@vnmoorthy

reweave add <url> --golden file.json works but writing the JSON by hand is friction. A wizard would:

  1. fetch the page and show detected repeating text blocks
  2. prompt: 'paste 2-3 titles/prices you can see'
  3. build the golden list, call surgeon.bootstrap_spec, show the synthesized spec + sample rows, confirm, save

Everything needed exists in reweave/surgeon.py (bootstrap_spec) and reweave/server.py::add_source — this is UI work in cli.py. Good first issue: no core changes required.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions