Metadata-Version: 2.4
Name: gitea-cli
Version: 0.12.4
Summary: A production-grade CLI tool for interacting with Gitea API (Migration, Mirroring, Forking, Polling).
Home-page: https://github.com/cumulus13/gitea_cli
Author: Hadi Cahyadi
Author-email: cumulus13@gmail.com
License: MIT
Project-URL: Homepage, https://github.com/cumulus13/gitea_cli
Project-URL: Repository, https://github.com/cumulus13/gitea_cli
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Software Development :: Version Control :: Git
Requires-Python: >=3.7
Description-Content-Type: text/markdown
Requires-Dist: requests>=2.28.0
Requires-Dist: rich>=12.0.0
Requires-Dist: rich-argparse>=1.0.0
Requires-Dist: configset>=0.2.0
Requires-Dist: clipboard>=0.0.4
Dynamic: author-email
Dynamic: home-page
Dynamic: requires-python

# Gitea CLI

Simple gitea cli

## Usage
```bash
Usage: gitea-cli [-h] [-u USERNAME] [-p PASSWORD] [--api API] [--url URL] {repo} ...

Gitea CLI - Interact with Gitea API

Positional Arguments:
  {repo}
    repo                Repository operations

Options:
  -h, --help            show this help message and exit
  -u, --username USERNAME
                        Gitea username
  -p, --password PASSWORD
                        Gitea password
  --api API             Gitea API token/key
  --url URL             Gitea API endpoint URL
```

```bash
Usage: gitea-cli repo [-h] [-a REPO_NAME] [-l] [-rm REPO_NAME] [-m REMOTE_URL] [--service {git,github,gitlab,gogs,gitea,codeberg}] [--mirror] [-n REPO_NAME] [--organization ORG_NAME] [--private]
                      [-fk OWNER/REPO] [--clone-user CLONE_USER] [--clone-pass CLONE_PASS] [--clone-token CLONE_TOKEN] [--no-wiki] [--no-labels] [--no-issues] [--no-pull-requests] [--no-releases]
                      [--no-milestones]

Options:
  -h, --help            show this help message and exit
  -a, --add REPO_NAME   Create new repository
  -l, --list            List repositories
  -rm, --remove REPO_NAME
                        Remove repository
  -m, --migrate REMOTE_URL
                        Migrate/clone repository from remote server (GitHub, GitLab, Gogs, private Git)
  --service {git,github,gitlab,gogs,gitea,codeberg}
                        Remote Git service type (default: git)
  --mirror              Set repository as a continuously syncing mirror
  -n, --name REPO_NAME  Target repository name on Gitea
  --organization ORG_NAME
                        Target organization on Gitea (optional)
  --private             Make target repository private on Gitea
  -fk, --fork OWNER/REPO
                        Fork repository (e.g. owner/repo_name)

Source Repository Credentials:
  --clone-user CLONE_USER
                        Username for remote repo authentication (HTTPS Basic Auth)
  --clone-pass CLONE_PASS
                        Password for remote repo authentication
  --clone-token CLONE_TOKEN
                        Personal Access Token for remote repo (GitHub/GitLab/Gitea token)

Migration Scope Options:
  --no-wiki             Do not migrate wiki
  --no-labels           Do not migrate labels
  --no-issues           Do not migrate issues
  --no-pull-requests    Do not migrate pull requests
  --no-releases         Do not migrate releases
  --no-milestones       Do not migrate milestones
```

## 👤 Author
        
[Hadi Cahyadi](mailto:cumulus13@gmail.com)
    

[![Buy Me a Coffee](https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png)](https://www.buymeacoffee.com/cumulus13)

[![Donate via Ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/cumulus13)
 
[Support me on Patreon](https://www.patreon.com/cumulus13)
