Skip to content

Command line utility for linting swedish bureaucratic content.

License

Notifications You must be signed in to change notification settings

byrokrat/byrolint

Repository files navigation

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