-
-
Notifications
You must be signed in to change notification settings - Fork 0
CLI
Pranav Baburaj edited this page Jun 24, 2021
·
1 revision
The polyglot module comes along with a command-line application. The cli can be accessed using polyglot
or pgt
polyglot stats
-
--dir
:The directory to check the stats- Default: Current directory
-
--ignore
: Files to ignore- Default: By default, the cli searches for files with a
.polyglot
extension
- Default: By default, the cli searches for files with a
-
--detect
: The language detection file -
--fmt
:l
for comparison based on loc,f
for files. -
--output
: Store the stats output into a file. Only JSON files and toml files are allowed.
polyglot stats --dir=/home/Documents --ignore --fmt=l --output=output.toml
polyglot tree
-
--dir
: The directory. Set to the current directory by default.
polyglot ls
polyglot dir
Update your cli
polyglot up
This wiki is the same as the documentation 😄.