codeberg
Interact with Codeberg using the `tea` CLI. Use `tea issue`, `tea pr`, `tea actions`, and `tea api` for issues, PRs, Actions, and advanced queries.
Installation
Pick a client and clone the repository into its skills directory.
Installation
About this skill
Interact with Codeberg using the tea CLI. Use tea issue, tea pr, tea actions, and tea api for issues, PRs, Actions, and advanced queries.
How to use
Zainstaluj narzędzie tea CLI. Możesz użyć brew (tea) lub go (code.gitea.io/tea@latest). Sprawdź, czy instalacja powiodła się, uruchamiając tea w terminalu.
Dodaj swoje konto Codeberg do tea, wykonując tea login add --name codeberg --url https://codeberg.org --token TWOJ_TOKEN. Token możesz wygenerować w ustawieniach Codeberg.
Aby wyświetlić otwarte pull requesty w repozytorium, użyj tea pulls --repo wlasciciel/repo --login codeberg. Zastąp wlasciciel i repo rzeczywistymi nazwami.
Aby sprawdzić szczegóły konkretnego pull requesta, uruchom tea pr NUMER --repo wlasciciel/repo --login codeberg, gdzie NUMER to identyfikator PR.
Do pracy z zadaniami użyj tea issues --repo wlasciciel/repo --login codeberg, aby wyświetlić listę, lub tea issue NUMER --repo wlasciciel/repo --login codeberg dla szczegółów konkretnego zadania.
Dla zaawansowanych zapytań skorzystaj z tea api repos/wlasciciel/repo/pulls/NUMER, a wynik przefiltruj za pomocą jq, na przykład tea api repos/wlasciciel/repo/pulls/55 | jq '.title, .state, .user.login'.