Skip to content

cmd/version: Introduce JSON output #184

@radeksimko

Description

@radeksimko

Current Version

0.3.2

Use-cases

The VSCode extension and potentially other IDEs/extensions might want to manage the installation/upgrade of the language server. This would be little easier if they could read JSON output instead of line-based one.

Attempted Solutions

https://github.com/hashicorp/vscode-terraform/blob/1c882b35bb52e834214fad186c167f8ecaf04804/src/languageServerInstaller.ts#L32-L33

Proposal

Introduce terraform-ls version -json which has similar output to the recently introduced terraform version -json: hashicorp/terraform#25252

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions