rename gitea to forge for cli and add gitea options as aliases

This commit is contained in:
crapStone 2024-05-19 23:53:50 +02:00
parent 9ce901bfa0
commit 5cac5e105c
No known key found for this signature in database
GPG key ID: 22D4BF0CF7CC29C8
6 changed files with 73 additions and 44 deletions

View file

@ -3,7 +3,7 @@ package config
type Config struct {
LogLevel string `default:"warn"`
Server ServerConfig
Gitea GiteaConfig
Forge ForgeConfig
Database DatabaseConfig
ACME ACMEConfig
}
@ -20,7 +20,7 @@ type ServerConfig struct {
BlacklistedPaths []string
}
type GiteaConfig struct {
type ForgeConfig struct {
Root string
Token string
LFSEnabled bool `default:"false"`