Closed
Labels
tech-debtA chore that addresses technical debt
Description
This issue tracks our tech debt work around the new Prompter interface.
There are 60 instances of either SurveyAsk or SurveyAskOne. They'll all need porting.
For each change, tests will need to be updated to use PrompterMock as well.
- context/context.go use Prompter in context #6313
- pkg/cmd/label/delete.go add and use ConfirmDeletion in {label,repo} delete #6320
- pkg/cmd/release/delete-asset/delete_asset.go port release command to prompter #6711
- pkg/cmd/release/delete/delete.go port release command to prompter #6711
- pkg/cmd/release/create/create.go port release command to prompter #6711
- pkg/cmd/pr/merge/merge.go
- pkg/cmd/pr/shared/survey.go
- pkg/cmd/pr/shared/templates.go
- pkg/cmd/pr/create/create.go
- pkg/cmd/issue/delete/delete.go update more prompts #7850
- pkg/cmd/workflow/shared/shared.go switch to prompter in workflow commands #7847
- pkg/cmd/workflow/run/run.go switch to prompter in workflow commands #7847
- pkg/cmd/secret/set/set.go update more prompts #7850
- pkg/cmd/run/shared/shared.go replace prompts in
gh runcommands #7302 - pkg/cmd/run/download/download.go replace prompts in
gh runcommands #7302 - pkg/cmd/run/view/view.go replace prompts in
gh runcommands #7302 - pkg/cmd/gist/edit/edit.go
- pkg/cmd/gist/view/view.go
- pkg/cmd/repo/archive/archive.go
- pkg/cmd/repo/edit/edit.go port repo edit prompts #7816
- pkg/cmd/repo/rename/rename.go New prompt testing utility #7116
- pkg/cmd/repo/create/create.go Add the option to generate a README for the created repository #6264
- pkg/prompt/prompt.go
Reacted by Sam Coe
Activity
vilmibm commentedon Sep 21, 2022
Including this discussion, thought perhaps it should be spun into its own issue: