I am trying to get the total count of lines of codes in my custom modules. it tried the below command.
./odoo-bin cloc --conf=odoo11.conf -d odoo10
Here odoo.conf addons path to default addons and custom addons.
But I am getting the below error:
Unknow command 'cloc'
How to solve this?
The
cloctool is in the odoo starting from version 13.You can use it or even version 16 to count your code. You cant install v11 modules to the newer Odoo base. So you have to use
cloctool by the path.The
-vis for verbose output. It lists all counted files.It can count all the modules together as well.