Files
iris-context/commands/rust/tokei.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

28 lines
1.3 KiB
Go

package rust
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "tokei",
Description: "Count your code, quickly",
Options: []core.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"},
},
})
}