Skip to content

一款可指定文件类型的代码行数统计工具

Notifications You must be signed in to change notification settings

sdta25196/stat-line

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation



stat-line


A line of code statistics tool and can specify file type

Coverage Status

中文文档

Installation

  npm i stat-line -g

Usage

  line [path] [options]

path

If you want to use [path]. You need to use relative path. default [path] is [./]

options

  • -r      Open recursion folders, no recursion by default
  • -t      Specify the type of file to be counted
  • -e      specify exclude folder
  • -h      Display help information

Examples

  • All JS files in the current path are counted by default
  line   
  • If you need recursion all folder, please use -r
  line -r
  • count current path scss file lines
  // Methods a
  line -t scss

  // Methods b
  line ./ -t scss 
  • count current path scss css js file lines
  line -t scss css js
  • custom path
  // [./src] Change to your custom relative path
  line ./src
  • Display help information
  line -h

More features

Please refer to the help documentation. line -h

todoList

  • Specify folders that do not need statistics
  • can recursion
  • can specify file type
  • help documentation

About

一款可指定文件类型的代码行数统计工具

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published