Linux command
cloctui 命令
文件
复制后可按需替换文件名、目录或参数。
常用示例
Scan
cloctui [path/to/directory]
Scan
cloctui .
Scan
cloctui [path/to/directory] -f
Try without installing
uvx cloctui .
说明
cloctui is a terminal user interface wrapper around the cloc (Count Lines of Code) tool. Instead of displaying raw text output, cloctui presents CLOC's analysis results in an interactive table that can be sorted and browsed, making it particularly useful for large codebases. Features include multiple grouping modes (by programming language, by directory, or as individual files), column sorting by clicking table headers or using keyboard shortcuts, and dual display modes (inline or fullscreen).
参数
- path
- Directory path to analyze with CLOC. If omitted, usage instructions are displayed.
- -f, --fullscreen
- Run in fullscreen mode instead of the default inline mode.
FAQ
What is the cloctui command used for?
cloctui is a terminal user interface wrapper around the cloc (Count Lines of Code) tool. Instead of displaying raw text output, cloctui presents CLOC's analysis results in an interactive table that can be sorted and browsed, making it particularly useful for large codebases. Features include multiple grouping modes (by programming language, by directory, or as individual files), column sorting by clicking table headers or using keyboard shortcuts, and dual display modes (inline or fullscreen).
How do I run a basic cloctui example?
Run `cloctui [path/to/directory]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does path do in cloctui?
Directory path to analyze with CLOC. If omitted, usage instructions are displayed.