Skip to content

Latest commit

 

History

History
114 lines (69 loc) · 1.78 KB

README.md

File metadata and controls

114 lines (69 loc) · 1.78 KB

Cricket CLI

build-test npm

Get Live Cricket Score Update on Your Terminal and CMD.

Built using

Setup

  • Clone or Download Repo
git clone https://github.com/sanwebinfo/cricket-cli.git

## Open Project Folder
cd cricket-cli

## install packages
pnpm install

## build CLI
pnpm build
  • Create cricket.yml file on your HOME Directory to add Cricket API URL
BASE_URL: 'https://cricket.example.com/score
npm link or pnpm link --global
  • unlink CLI
npm rm --global cricket-data or pnpm uninstall --global cricket-data
  • Access CLI Globally
cricket score --help

cricket score <MatchID>

cricket score <MatchID> --details
  • Access via NPX
npx cricket-data score <MatchID> or npx cricket-data score --help
  • install via NPM and PNPM
## install via npm
npm install -g cricket-data

## Remove Package
npm uninstall -g cricket-data


## install via pnpm
pnpm install -g cricket-data

## update package
pnpm update -g cricket-data

## Remove Package
pnpm uninstall -g cricket-data

MISC (Development)

  • Clear NPX and PNPM Cache
npx clear-npx-cache
pnpm store prune

Contributing 🙌

Your PR's are Welcome

Disclaimer 🗃

  • This is not an Offical API from Cricbuzz - it's an Unofficial API
  • This is for Education Purpose only - use at your own risk on Production Site

All Credits Goes to https://www.cricbuzz.com/

LICENSE

MIT