kritika - integrate with kritika.io
kritika lib/MyFile.pm
This command allows you to quickly analyze file using https://kritika.io service. Normally kritika.io analyzes your repository after the push, but of course sometimes you would like to know if something's wrong before doing a commit.
kritika.io
This command easily integrates with text editors.
A special file .kritikarc has to be placed in the root directory of the project with the following configuration:
.kritikarc
# This is the default, if you're using public Kritika service this option is not needed base_url=https://kritika.io # This is your repository token that you can obtain from the repository integrations page on kritika.io token=deba194179c1bdd7fca70724d57d85a7ed8d6dbe
If you want to force project root, use root option:
root
root=/path/to/my/project
kritika produces text output by default. This can be parsed by editors that support error reporting.
kritika
You can either manually call kritika from vim:
vim
:!kritika %
Or use a compiler plugin https://github.com/kritikaio/vim-kritika.
compiler
:compiler kritika :Kritika
See https://github.com/kritikaio/SublimeLinter-kritika plugin.
http://github.com/kritikaio/app-kritika
Viacheslav Tykhanovskyi, vti@cpan.org.
vti@cpan.org
Copyright (C) 2017, Viacheslav Tykhanovskyi
This program is free software, you can redistribute it and/or modify it under the terms of the Artistic License version 2.0.
To install App::Kritika, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::Kritika
CPAN shell
perl -MCPAN -e shell install App::Kritika
For more information on module installation, please visit the detailed CPAN module installation guide.