Files
iris-context/commands/text/vale.go
T
VERSE 2ef3c90819 feat(commands): more commands (#30)
- I wrote a scripts to copy and generate all commands missing in iris
from fig repo: https://github.com/withfig/autocomplete
- Add a new script to generate commands docs about which commands
currently are inside commands folder
377d4aac663590e504fe39a92eb4dac4cbd333b2
- Add more icons e64d4e70a1db61e62053460a882e093bd6373ab1
2026-07-04 22:08:36 +07:00

30 lines
1.2 KiB
Go

package text
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "vale",
Description: "A syntax-aware linter for prose built with speed and extensibility in mind",
Subcommands: []core.Subcommand{
{Name: "ls-config", Description: "Print the current configuration to stdout"},
{Name: "ls-metrics", Description: "Print the given file's internal metrics to stdout"},
{Name: "file", Description: "The path to a file you want to analyze"},
},
Options: []core.Option{
{Name: "--help", Description: "Show help for vale"},
{Name: "--version", Description: "Print the current version"},
{Name: "--ignore-syntax", Description: "Lint all files line-by-line"},
{Name: "--no-exit", Description: "Don't return a nonzero exit code on errors"},
{Name: "--no-wrap", Description: "Don't wrap CLI output"},
{Name: "--ext", Description: "An extension to associate with stdin"},
{Name: "--glob", Description: "A glob pattern"},
{Name: "--minAlertLevel", Description: "The minimum level to display"},
{Name: "--output", Description: "The alert output style to use"},
{Name: "--config", Description: "A path to a .vale.ini file"},
},
})
}