ssig33 ca95079907
All checks were successful
CI / test (push) Successful in 35s
Renovate / renovate (push) Successful in 1m18s
update go sum
2025-12-17 09:10:42 +09:00
2025-12-17 09:10:42 +09:00
2025-09-11 17:30:21 +09:00
2025-12-17 09:10:42 +09:00
2025-09-11 17:35:41 +09:00
2025-09-11 17:30:21 +09:00
2025-09-11 17:30:21 +09:00
2025-09-11 17:30:21 +09:00

teatea

A lightweight CLI client for Gitea API.

Installation

go get github.com/ssig33/teatea@latest

Configuration

Set the following environment variables:

  • GITEA_TOKEN: Your Gitea API token
  • GITEA_HOST: Your Gitea instance URL (e.g., https://gitea.example.com)

Usage

Create a repository

Create a repository with the current directory name:

teatea create

Create a repository with a specific name:

teatea create myrepo

Create a private repository:

teatea create -p
teatea create -p myrepo

Git remote management

The tool automatically manages git remotes:

  • If no origin exists, it sets the created repository as origin
  • If origin exists but no gitea remote exists, it adds a gitea remote
  • If both exist, no remote changes are made

Requirements

  • Must be run inside a git repository
  • Environment variables GITEA_TOKEN and GITEA_HOST must be set

License

WTFPL

Description
No description provided
Readme WTFPL 52 KiB
Languages
Go 100%