-
Notifications
You must be signed in to change notification settings - Fork 17
/
vale.sh
62 lines (53 loc) · 1.71 KB
/
vale.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
#!/usr/bin/env bash
# Automatic generated, DON'T MODIFY IT.
# @option --config <file> A file path (--config='some/file/path/.vale.ini').
# @option --ext <value> An extension to associate with stdin (--ext=.md).
# @option --filter <value> An expression to filter rules by.
# @option --glob <pattern> A glob pattern (--glob='*.{md,txt}.')
# @flag -h --help Print this help message.
# @flag --ignore-syntax Lint all files line-by-line.
# @flag --no-exit Don't return a nonzero exit code on errors.
# @flag --no-global Don't load the global configuration.
# @flag --no-wrap Don't wrap CLI output.
# @option --output[`_choice_output`] An output style ("line", "JSON", or a template file).
# @flag -v --version Print the current version.
# @arg paths*
# {{ vale ls-config
# @cmd Print the current configuration to stdout.
ls-config() {
:;
}
# }} vale ls-config
# {{ vale ls-dirs
# @cmd Print the default configuration directories to stdout.
ls-dirs() {
:;
}
# }} vale ls-dirs
# {{ vale ls-metrics
# @cmd Print the given file's internal metrics to stdout.
ls-metrics() {
:;
}
# }} vale ls-metrics
# {{ vale ls-vars
# @cmd Print the supported environment variables to stdout.
ls-vars() {
:;
}
# }} vale ls-vars
# {{ vale sync
# @cmd Download and install external configuration sources.
sync() {
:;
}
# }} vale sync
. "$ARGC_COMPLETIONS_ROOT/utils/_argc_utils.sh"
_choice_output() {
if _argc_util_has_path_prefix; then
_argc_util_comp_path
return
fi
printf "%s\n" line JSON
}
command eval "$(argc --argc-eval "$0" "$@")"