1 unstable release
0.1.0 | Nov 2, 2023 |
---|
#11 in #py
6KB
91 lines
📜 floc
Count the lines in your codebase
Installation
Via source code
You can install floc
by building the project manually.
Requirements:
- Cargo 1.73.0 or higher
git clone https://github.com/interrrp/floc
cd floc
cargo install
floc
should now be installed in the Cargo bin
directory. Nice! 🎉
Usage
By default, floc
looks for a src
directory with Rust (.rs
) files:
floc # Search for .rs files in the "src" directory
You can change the directory and extensions:
floc code # Search in the "code" directory
floc app -e py -e html # Search in the "app" directory for .py and .html files
License
floc
is licensed under the MIT license.
Dependencies
~2.4–9.5MB
~97K SLoC