INNER CODE UNIT · Go
GetNextAction
ankitpokhrel/jira-cli · internal/cmdcommon/create.go:75
func GetNextAction() *survey.Question {
return &survey.Question{
Name: "action",
Prompt: &survey.Select{
Message: "What's next?",
Options: []string{
ActionSubmit,
ActionMetadata,
ActionCancel,
},
},
Validate: survey.Required,
}
}
// GetMetadata gathers a list of metadata users wants to add.
func GetMetadata() []*survey.Question {
return []*survey.Question{