gitea-tea/cmd
Vincent Neubauer 6f924df8ac Fix/Login Edit Use Editor Env (#706)
It is very common to set `$EDITOR` to an terminal editor.
To do so, we have to attach the stdin and stdout to interact with it.
Otherwise the command would do nothing (when using `.Run()`) as it
silently fails or hang the command (using `.Start()`) because it waits
forever for input.
Also attaching stderr to make debugging easier if someone has a
non-compatible or broken `$EDITOR` set.

Reviewed-on: https://gitea.com/gitea/tea/pulls/706
Reviewed-by: Lunny Xiao <lunny@noreply.gitea.com>
Co-authored-by: Vincent Neubauer <v.neubauer@darlor.de>
Co-committed-by: Vincent Neubauer <v.neubauer@darlor.de>
2025-01-02 06:29:53 +00:00
..
admin/users spdx (#581) 2023-09-08 01:40:02 +00:00
attachments Release Asset Management (#619) 2024-07-26 16:05:12 +00:00
branches tea branches list/protect/unprotect (#645) 2024-07-26 16:02:07 +00:00
flags spdx (#581) 2023-09-08 01:40:02 +00:00
issues spdx (#581) 2023-09-08 01:40:02 +00:00
labels spdx (#581) 2023-09-08 01:40:02 +00:00
login Fix/Login Edit Use Editor Env (#706) 2025-01-02 06:29:53 +00:00
milestones spdx (#581) 2023-09-08 01:40:02 +00:00
notifications spdx (#581) 2023-09-08 01:40:02 +00:00
organizations spdx (#581) 2023-09-08 01:40:02 +00:00
pulls Support auto detecting branch for PRs (#525) 2024-07-26 19:21:48 +00:00
releases spdx (#581) 2023-09-08 01:40:02 +00:00
repos Expose --labels option - Fixes #698 (#699) 2024-12-23 18:40:45 +00:00
times spdx (#581) 2023-09-08 01:40:02 +00:00
admin.go spdx (#581) 2023-09-08 01:40:02 +00:00
attachments.go Release Asset Management (#619) 2024-07-26 16:05:12 +00:00
autocomplete.go spdx (#581) 2023-09-08 01:40:02 +00:00
branches.go tea branches list/protect/unprotect (#645) 2024-07-26 16:02:07 +00:00
categories.go spdx (#581) 2023-09-08 01:40:02 +00:00
clone.go spdx (#581) 2023-09-08 01:40:02 +00:00
comment.go spdx (#581) 2023-09-08 01:40:02 +00:00
docs.go spdx (#581) 2023-09-08 01:40:02 +00:00
issues.go spdx (#581) 2023-09-08 01:40:02 +00:00
labels.go spdx (#581) 2023-09-08 01:40:02 +00:00
login.go Add git helper (#612) 2024-08-26 11:34:36 +00:00
logout.go spdx (#581) 2023-09-08 01:40:02 +00:00
milestones.go spdx (#581) 2023-09-08 01:40:02 +00:00
notifications.go spdx (#581) 2023-09-08 01:40:02 +00:00
open.go spdx (#581) 2023-09-08 01:40:02 +00:00
organizations.go spdx (#581) 2023-09-08 01:40:02 +00:00
pulls.go spdx (#581) 2023-09-08 01:40:02 +00:00
releases.go Release Asset Management (#619) 2024-07-26 16:05:12 +00:00
repos.go Add repos rm/delete command (#609) 2024-07-26 16:18:58 +00:00
times.go spdx (#581) 2023-09-08 01:40:02 +00:00
whoami.go spdx (#581) 2023-09-08 01:40:02 +00:00