Skip to content

Commit 00f29cb

Browse files
Update GenerateSkyline function documentation to clarify label parameter usage
1 parent fb176ed commit 00f29cb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cmd/skyline/skyline.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ type GitHubClientInterface interface {
2323
FetchContributions(username string, year int) (*types.ContributionsResponse, error)
2424
}
2525

26-
// GenerateSkyline creates a 3D model with ASCII art preview of GitHub contributions for the specified year range, or "full lifetime" of the user
26+
// GenerateSkyline creates a 3D model with ASCII art preview of GitHub contributions for the specified year range, or "full lifetime" of the user.
27+
// The 'label' parameter customizes the display name in the output; if left empty, it defaults to the targetUser.
2728
func GenerateSkyline(startYear, endYear int, targetUser string, label string, full bool, output string, artOnly bool) error {
2829
log := logger.GetLogger()
2930

0 commit comments

Comments
 (0)