ghloc

Crates.ioghloc
lib.rsghloc
version0.1.2
sourcesrc
created_at2022-11-18 12:27:51.572601
updated_at2022-11-21 17:13:30.034447
descriptionList the lines of code of a GitHub repository.
homepage
repositoryhttps://github.com/MrRobb/ghloc-rs
max_upload_size
id717867
size94,187
Mr.Robb (MrRobb)

documentation

README

🐙 ghloc-rs

Crates.io Docs.rs codecov license

We have tokei and ghloc.vercel.app for counting lines of code in a GitHub repository. But what if you want to count lines of code in a GitHub repository from the command line? Well, that's what this crate is for.

CLI Showcase

Actively maintained! If you have any problem just create an issue.

Install

cargo install ghloc

Usage

ghloc "https://github.com/MrRobb/ghloc-rs"

TODO

  • CI / CD:
    • Add tests.
    • Get rid of unwrap().
    • Add no_panic.
  • Code:
    • File selection.
    • Local repository support.
    • Git authentication.
    • Add comments and blank space to the output.
  • UI:
    • Inline statistics.
    • Percentages.
    • Colors for each bar (using github-colors).

License

Distributed under the MIT License. See LICENSE for more information.

Commit count: 35

cargo fmt