Skip to content

Commit

Permalink
chore(github_release): enhance help messages for repo, token, and max…
Browse files Browse the repository at this point in the history
…_releases fields in Addition struct
  • Loading branch information
vvtommy committed Jan 21, 2025
1 parent a0aaf0d commit c14fe2f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/github_release/meta.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import (
type Addition struct {
driver.RootID
// define other
Repo string `json:"repo" required:"true" default:"AlistGo/alist"`
Token string `json:"token" required:"true" default:""`
MaxReleases int `json:"max_releases" required:"true" type:"number" default:"30" help:"max releases to list"`
Repo string `json:"repo" required:"true" default:"AlistGo/alist" help:"Repository name(owner/repo)"`
Token string `json:"token" required:"true" default:"" help:"Github personal access token"`
MaxReleases int `json:"max_releases" required:"true" type:"number" default:"30" help:"Max releases to list"`
}

var config = driver.Config{
Expand Down

0 comments on commit c14fe2f

Please sign in to comment.