Files
VERSE ebde9ba68f refactor(commands): separate commands and its core into two folders (#32)
- I think it would be better if one for commands only, one for the spec
handling core logic so people won't be confused by the core logic inside
the commands folder (cleaner I guess)
- Regen docs
2026-07-05 11:27:30 +07:00

28 lines
1.2 KiB
Go

package rust
import (
"github.com/versenilvis/iris/spec"
)
func init() {
spec.Register(&spec.Spec{
Name: "tokei",
Description: "Count your code, quickly",
Options: []spec.Option{
{Name: "-f", Description: "Will print out statistics on individual files"},
{Name: "-h", Description: "Prints help information"},
{Name: "--hidden", Description: "Count hidden files"},
{Name: "-l", Description: "Prints out supported languages and their extensions"},
{Name: "--no-ignore", Description: "Don't respect ignore files (.gitignore, .ignore, etc.)"},
{Name: "--no-ignore-dot", Description: "Don't respect ignore files (.gitignore, .ignore, etc.) in parent directories"},
{Name: "--no-ignore-vcs", Description: "Prints version information"},
{Name: "-v", Description: "Set log output level:"},
{Name: "-c", Description: "Sets a strict column width of the output, only available for terminal output"},
{Name: "-e", Description: "Ignore all files & directories matching the pattern"},
{Name: "-i", Description: "Outputs Tokei in a specific format"},
{Name: "-s", Description: "Sort languages based on column"},
{Name: "-t", Description: "Filters output by language type, separated by a comma. i.e. -t=Rust,Markdown"},
},
})
}