Update to use ssh

This commit is contained in:
2025-08-05 22:46:36 +10:00
parent 7a6b6b8ae7
commit e59f6a1eae
3 changed files with 18 additions and 5 deletions

View File

@@ -102,19 +102,24 @@ gitea-creator <repository-name> [options]
- `-p, --public`: Create a public repository (non-private)
- `-d, --description <description>`: Add a description to the repository
- `--https`: Use HTTPS URL instead of SSH URL (SSH is default)
- `-c, --config`: Show configuration setup instructions
- `-h, --help`: Display help information
### Examples
```bash
# Create a private repository
# Create a private repository (SSH URL by default)
gitea-creator my-new-repo
# Create a public repository with description
gitea-creator my-public-repo --public --description "My awesome project"
# Short form
gitea-creator my-repo -p -d "Short description"
# Create with HTTPS URL instead of SSH
gitea-creator my-repo --https
# Combine options
gitea-creator my-repo -p -d "Short description" --https
# Get configuration help
gitea-creator --config