Giter Site home page Giter Site logo

cscan's Introduction

cscan

A CLI tool to get info about a repositories commits.

Usage

Usage: cscan [options] [path]

Options:
  -v, --verbose    Displays results with more detail then the usual scan	[boolean] [default: false]
  -c, --concise    Displays a concise readout of scan results       		[boolean] [default: false]
  -t, --threshold  Commit message character threshold   			[number] [default: 10]
      --csv        Saves commit history as a .csv file				[boolean] [default: false]
      --out        Specify output location of .csv file 			[string] [default: "./commits.csv"]
  -h, --help       Show help                	                	        [boolean]

Development

I wrote this program in TypeScript so I could recycle some of my other TS code. It was developed using node 14.15.1 but other recent versions will probably work too.

Tools

Building

To create a binary executable for whatever system you are on, run the following commands. The compiled executable will be put in the bin directory.

pnpm i
pnpm make

Developing

Since this is TS and doesn't need to be compiled into a binary, its annoying to compile one every time you make a change. To reduce the wait time between writing code and running it, I made the dev script to transpile the TS to JS on every file change. You can run pnpm dev to start this script and then pnpm start or node . to run the transpiled JS.

cscan's People

Contributors

bensegal855 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.