tldr-line-verifier

Crates.iotldr-line-verifier
lib.rstldr-line-verifier
version0.1.2
sourcesrc
created_at2023-04-24 20:19:55.114099
updated_at2023-04-28 12:53:08.903121
descriptionCommand line tool to verify the max length of files in a repository.
homepage
repository
max_upload_size
id847861
size22,019
Koen Klinkers (kloki)

documentation

README

👮 tldr-line-verifier

Command line tool to verify the max length of files in a repository. Supposed to be run in CI.

Install

cargo install tldr-line-verifier

Run

tldr-line-verifier ./ --max_lines=1000 --exclude_pattern=".csv$"

Docker

docker run -v /path/to/repository:/home nicekloki/tldr-line-verifier

Github action

jobs:
  tldr:
    runs-on: ubuntu-latest
    container:
      image: nicekloki/tldr-line-verifier
    steps:
      - uses: actions/checkout@v3
      - name: check file length
        run: tldr-line-verifier ./ --max-lines=1000
Commit count: 0

cargo fmt