Add 'check' command with support for indent style/size, trailing whitespace.

This commit is contained in:
Amy Boyd
2016-06-24 21:31:19 +01:00
parent 9f81906841
commit 0fd96b0d48
3 changed files with 58 additions and 0 deletions

View File

@@ -22,6 +22,11 @@ func CreateCliApp() *cli.App {
Usage: "List rules that match a given file",
Action: RulesCommand,
},
{
Name: "check",
Usage: "Validate files",
Action: CheckCommand,
},
}
return app