Skip to content

Move prompt to client/v2 #17222

Open
Open

Description

The draft-proposal command introduced a Prompt (https://github.com/cosmos/cosmos-sdk/blob/701aaa8/x/gov/client/cli/prompt.go) helper, that prompts the user of each field.

We should move Prompt to client/v2 and use the scalar annotation instead of simple field matching for validating the fields.
Additionally, the Prompt should work recursively on the whole message.

ref: #15982 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Type

No type

Projects

  • Status

    📋 Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions