gookit/gcli
Grade a repo

92

/ 100

GradeA

Polished and well engineered. Punching above its star count.

Top 10% of 5,156 graded repos

🖥 Go CLI application, tool library, running CLI commands, support console color, user interaction, progress display, data formatting display, generate bash/zsh completion add more features. Go的命令行应用,工具库,运行CLI命令,支持命令行色彩,用户交互,进度显示,数据格式化显示,生成bash/zsh命令补全脚本

Top fixes

Highest-impact changes first, ranked by point weight

5 to address
  1. 1
    CI/CD14pt

    Add a lint step to catch style issues automatically.

  2. 2
    CI/CD14pt

    Add `tsc --noEmit`, `mypy`, or `cargo check` to catch type errors before they merge.

  3. 3
    Install and run instructions9pt

    Add a .env.example listing all required environment variables so contributors know what to set up.

  4. 4
    Contributing guide5pt

    Add a CONTRIBUTING.md telling newcomers how to get involved. Include setup, code style, test, and PR instructions.

Working through the fixes? Let every push regrade itself.

The free GitHub App rescans this repo on every push and posts the grade as a commit check, so the score climbs without coming back to rescan by hand.

Install the GitHub App

Scorecard

Every check, grouped by category and sorted worst-first

Documentation

82

Contributing guide5pt0

No CONTRIBUTING.md found (−47 pts base + up to −53 pts more for content).

Add a CONTRIBUTING.md telling newcomers how to get involved. Include setup, code style, test, and PR instructions.

Install and run instructions9pt90

README documents how to install the project.

README12pt100

README is present.

License6pt100

Licensed under MIT.

Engineering

96

CI/CD14pt85

CI is configured (.github/workflows/go.yml).

Tests18pt100

Test files detected (_examples/sflag/parser_test.go).

Linting and formatting5pt100

Formatting enforced (gofmt (built into Go toolchain)).

Reproducibility6pt100

Lockfile present (go.sum). Installs are reproducible.

Issue and PR templates6pt100

Issue or PR templates present.

Project health

100

Dependency manifest6pt100

Dependency manifest found (go.mod).

Repository metadata5pt100

Repository has a description.

Activity5pt100

Actively maintained (pushed within the last month).

Housekeeping3pt100

.gitignore present.

Repository health signals

Activity, community, and responsiveness at scan time

Activity

  • 133 / 144
    Commits (30d / 90d)
  • 40
    Forks
  • 38
    Releaseslatest 6y ago

Community

  • 50% - Fair
    Community health
  • -
    authors own >50% of commits
  • 378
    Watchers

Responsiveness

  • 3h
    Median issue response
  • 3h
    Median PR merge time
  • 1
    Open issues
Repository files38 root entries
  • _examples
    Good: Test files detected (_examples/sflag/parser_test.go).
  • .github
    Good: CI is configured (.github/workflows/go.yml).
    Good: Dependabot covers 2 ecosystems (gomod, github-actions). Dependencies stay current.
    Good: Issue or PR templates present.
  • builtin
  • docgen
  • docs
  • gevent
  • gflag
  • internal
  • resource
    Good: Environment pinned via resource/Dockerfile.
  • .gitignore
    Good: .gitignore present.
  • AGENTS.md
  • app_opts_test.go
  • app_test.go
  • app.go
  • base_test.go
  • base.go
  • CHANGELOG.md
  • CLAUDE.md
  • cmd_test.go
  • cmd.go
  • completion_test.go
  • completion.go
  • ext_test.go
  • ext.go
  • gcli_test.go
  • gcli.go
  • go.mod
    Good: Dependency manifest found (go.mod).
  • go.sum
    Good: Lockfile present (go.sum). Installs are reproducible.
  • help.go
  • index.html
  • internal_test.go
  • LICENSE
    Good: Licensed under MIT.
  • README.md
    Good: README is present.
    Good: README is well structured with multiple sections.
    Good: README includes screenshots or visuals. Great for first impressions.
    Good: README has code examples.
    Good: README links to a live demo or deployed app.
    Good: README includes status badges.
    Good: README documents how to install the project.
    Good: README documents how to run the project.
  • README.zh-CN.md
  • reorder_app_test.go
  • shared_opts_test.go
  • util_test.go
  • util.go
RepoGrade badge preview

Add this badge to your README

It updates automatically each time the repo is re-graded.

[![RepoGrade](https://www.repo-grade.com/api/badge/gookit/gcli)](https://www.repo-grade.com/report/gookit/gcli)

More graded Go repos