Skip to content
/ loci Public

A simple python script that will show you how many lines you've written inside your code project !

Notifications You must be signed in to change notification settings

pacifio/loci

Repository files navigation

LOCI

LOCI means Lines Of Codes Indicator . A simple python script that will show you how many lines you've written inside your code project !

git clone https://github.com/pacifio/loci.git
cd loci

Now add loci to the path

Now in your project use loci

cd YOUR_PROJECT
loci.py LANG

Suported languages

  • html
  • css
  • javascript
  • typescript
  • python
  • dart
  • c
  • c++

You can add custom languages . The configuration file lives under ~/.config/loci.json

The configuration for your language is set like this

"LANGUAGE_NAME": {
  "extension": "LANGUAGE_EXTENSION",
  "ids": ["LANGUAGE_ID"]
}

Example configuration for dart:

"dart": {
  "extension": ".dart",
  "ids": ["dart", "flutter", ".dart"]
}

here the ids are how loci identifies differet languages . For dart

loci.py dart

and

loci.py flutter

both of these commands are the same . These are ids . You can add more languages in the main configuration file which lives at ~/.config/loci.json

About

A simple python script that will show you how many lines you've written inside your code project !

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages