fix: reconcile the issues stream and remove the legacy output shims

Use one canPrompt and pullNumberArguments for the comment commands, set
display preferences instead of the retired environment variables in
tests, and delete writeList, writeItem, batch, table, writeRecord(s),
the legacy column map, confirm, require, validateMilestoneFlags and
listWindow now that every command uses their replacements.

Signed-off-by: bircni <bircni@icloud.com>
This commit is contained in:
bircni committed 2026-10-12 00:19:35 +02:00
1 parent 511252e2a5
commit ae0ea27bb0
13 files changed
+23 -172

No files matched your search

+1 -4
View File
@@ -247,10 +247,7 @@ $ tea label edit old-stuff --archived`, Annotations: map[string]string{"tea.argu
if err != nil {
return err
}
prompt, err := a.canPrompt()
if err != nil {
return err
}
prompt := a.canPrompt()
form, hasForm := a.deps.Prompter.(terminal.LabelForm)
if opts == (services.LabelOptions{}) && (!prompt || !hasForm) {
return errNothingToEdit