-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.go
37 lines (27 loc) · 888 Bytes
/
main.go
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
/*
Wslint formats files, removing trailing whitespaces and enforcing exactly one blank line at the end of the file.
Usage:
wslint [flags] [path ...]
Paths can be specified as one or more glob patterns or simple file paths.
Enclose the path arguments in quotes to prevent shell expansion.
The flags are:
-w Format the files. Without this flag, wslint only performs linting.
-a Include hidden files and folders.
-e Exclude patterns, separated by commas (e.g., *.log,*.tmp).
-j Set the number of parallel jobs.
-h Print help information.
-v Print the version number.
-d Show debug output.
-q Suppress messages.
-x Enable experimental features.
*/
package main
import (
"os"
"github.com/idelchi/wslint/internal/logic"
)
// Global variable for CI stamping.
var version = "unknown - unofficial & generated by unknown"
func main() {
os.Exit(logic.Run(version))
}