Skip to content

support --json and --config options for nats kv command, like nats stream command does #1349

@ckasabula

Description

@ckasabula

Proposed change

Support:
nats kv info foo_kv --json
nats kv add foo_kv --config foo_kv.json
nats kv edit foo_kv --config foo_kv.json

Use case

--json and --config allow for stream config to be shared and easily deployed. It would be nice, and more consistent, if the same functionality was available for KVs.

Contribution

Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    proposalEnhancement idea or proposal

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions