1Code::TidyAll::Plugin::UGseenrerCiocnVtarliibduatteCodord(Pe3e:)r:lTiDdoycAulmle:n:tPaltuigoinn::GenericValidator(3)
2
3
4

NAME

6       Code::TidyAll::Plugin::GenericValidator - A plugin to run any
7       executable as a validator
8

VERSION

10       version 0.82
11

SYNOPSIS

13           # In your tidyall config
14           [GenericValidator / JSONOrderedTidy]
15           cmd = json-ordered-tidy
16           argv = -check
17           ok_exit_codes = 0 1
18

DESCRIPTION

20       This plugin allows you to define any executable as a validator.
21

CONFIGURATION

23       This plugin accepts the following configuration options:
24
25   cmd
26       This is the command to be run. This is required.
27
28   argv
29       This is a string containing additional arguments to be passed to the
30       command.  These arguments will always be passed.
31
32   file_flag
33       This is the flag used to tell the command what file to operate on, if
34       it has one.
35
36       By default, the file is simply passed as the last argument. However,
37       many commands will want this passed with a flag like "-f", "--file", or
38       "--input".
39
40   ok_exit_codes
41       By default, any exit code other than 0 is considered an exception.
42       However, many commands use their exit code to indicate that there was a
43       validation issue as opposed to an exception.
44
45       You can specify multiple exit codes either by listing "ok_exit_codes"
46       multiple times or as a space-separate list.
47

SUPPORT

49       Bugs may be submitted at
50       <https://github.com/houseabsolute/perl-code-tidyall/issues>.
51

SOURCE

53       The source code repository for Code-TidyAll can be found at
54       <https://github.com/houseabsolute/perl-code-tidyall>.
55

AUTHORS

57       •   Jonathan Swartz <swartz@pobox.com>
58
59       •   Dave Rolsky <autarch@urth.org>
60
62       This software is copyright (c) 2011 - 2022 by Jonathan Swartz.
63
64       This is free software; you can redistribute it and/or modify it under
65       the same terms as the Perl 5 programming language system itself.
66
67       The full text of the license can be found in the LICENSE file included
68       with this distribution.
69
70
71
72perl v5.36.0                      202C2o-d0e7:-:2T2idyAll::Plugin::GenericValidator(3)
Impressum