Skip to content

[Feature]: add blocks list with filtering and JSON output #2338

Closed

Description

@mister-x-ops

Feature description

Right now, Wave doesn’t provide a way to list or query blocks (terminals, previews, web views, etc.) from the CLI. This makes it harder to automate, script, and debug workflows.

I built a wsh blocks list subcommand to fill this gap. It outputs block data with optional filtering and structured JSON. This issue is to open up discussion, get feedback, and confirm if this fits into the project’s goals.

Implementation Suggestion

Here’s my initial PR as a starting point:
#2337

Activity

  1. mister-x-ops commented on Sep 12, 2025

    @mister-x-ops
    ContributorAuthor

    Hello @sawka, I just noticed #1572, which covered a similar idea but was closed earlier this year. I didn’t see it at first since it was marked as done, but my PR takes that concept a bit further by adding richer filtering and JSON output. Happy to adjust if this overlaps with any planned work.

  2. mister-x-ops commented on Mar 4, 2026

    @mister-x-ops
    ContributorAuthor
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

    enhancementNew feature or requesttriageNeeds triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions