Options (1)
-u, --unrestrictedbooleanPrint lines of code without `.gitignore` (etc.) files (e.g. two `-u` flags will additionally count hidden files and dirs)
Example:
loc {{[-u|--unrestricted]}}Examples (4)
Print lines of code in the current directory
Print lines of code in the target directory
loc path/to/directoryPrint lines of code with stats for individual files
loc --filesPrint lines of code without `.gitignore` (etc.) files (e.g. two `-u` flags will additionally count hidden files and dirs)
loc [-u|--unrestricted]made by @shridhargupta | data from tldr-pages