Skip to content
This repository was archived by the owner on Oct 9, 2025. It is now read-only.

Json output isn't clean when getting cvm info #61

@youben11

Description

@youben11

When running phala cvms get -j <app_id>, I get the two lines preceding the json output. For example:

✓ CVM with App ID app_xxxxxxxxxxxxxxxxxxxxxxxxxxxx detected
⟳ Fetching CVM with App ID app_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx... ✓

{
   ... json here
}

Those lines are also printed to stdout, so there in no way to make them go away with a 2>/dev/null.

It would be great to have the ability to get the json only in the output.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions