byrokrat/byrolint

Command line utility for linting swedish bureaucratic content

1.0.0 2020-12-27 21:27 UTC

This package is auto-updated.

Last update: 2024-05-04 17:52:14 UTC


README

byrokrat

byrolint

Packagist Version Build Status

Command line utility for linting swedish bureaucratic content.

Installation

Using phive (recommended)

Install using phive:

phive install byrokrat/byrolint

As a phar archive

Download the latest version from the github releases page.

Optionally rename byrolint.phar to byrolint for a smoother experience.

Using composer

Install as a composer dependency:

composer require byrokrat/byrolint

This will make byrolint avaliable as vendor/bin/byrolint.

From source

To build you need make

make
sudo make install

The build script uses composer to handle dependencies and phive to handle build tools. If they are not installed as composer or phive respectivly you can use something like

make COMPOSER_CMD=./composer.phar PHIVE_CMD=./phive.phar

Usage

Linting a regular account number

byrolint --account 123456678

Linting a personal id number

byrolint --personal-id 123456678

Check a number using all the linters

byrolint 123456678

For more information use

byrolint --help