Skip to content

Subgraph list cli command with raw option does not return valid JSON. #621

@co-sic

Description

@co-sic

Component(s)

cli

Component version

wgc version

0.44.2

controlplane version

latest

router version

latest

What happened?

The returned value is not a valid json. I have tried using the raw option and then parsing with JSON.parse and also reading the the file input with JSON.parse if i use the out option.
Error:

Unexpected token 'S', "[
  Subgraph {"... is not valid JSON
error Command failed with exit code 1.

Environment information

Environment

OS: Ubuntu 23.10
Package Manager: yarn

Router configuration

No response

Router execution config

No response

Log output

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions