Skip to content

telepresence version --format=json should output structured version info #3173

Open
@nicks

Description

@nicks

Please describe your use case / problem.
I want to make sure that everyone on my team has a minimum version of telepresence installed, so want to parse out the version in scripts.

Describe the solution you'd like

telepresence version --output=json

should print a json spec of the version

Here's what it currently prints:

{"cmd":"version","stdout":"Client         : v2.13.1\nRoot Daemon    : v2.13.1\nUser Daemon    : v2.13.1\nTraffic Manager: not connected\n"}

😐

Describe alternatives you've considered
none

Versions (please complete the following information)
see above

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or enhancement request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions