From e63884c23ecb1ffd1c4cbd423ad8b29ecbaa9864 Mon Sep 17 00:00:00 2001 From: Mitul Patel Date: Fri, 31 May 2024 18:33:39 -0400 Subject: [PATCH] feat(docs): updated package & added supported lotteries --- README.md | 21 ++++++++++++++++++++- package.json | 10 +++------- 2 files changed, 23 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 5f8d313..0eb0363 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,7 @@ USAGE $ lottery generate -l ARGUMENTS - PERSON Person to say hello to + LOTTERY Name of the major lottery FLAGS -l, --lotto= (required) name of major lottery @@ -80,3 +80,22 @@ DESCRIPTION ``` _See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v6.0.22/src/commands/help.ts)_ + +## Supported Lotteries + +The `lottery-cli` command-line tool supports generating numbers for the following major global lotteries: + +| Lottery | Draw Days | Numbers | +| ----------------------------------------- | -------------------------------- | ---------------------------------------------------------- | +| **Powerball** (USA) | Wednesdays, Saturdays | 5 numbers from 1 to 69 and 1 Powerball number from 1 to 26 | +| **Mega Millions** (USA) | Tuesdays, Fridays | 5 numbers from 1 to 70 and 1 Mega Ball number from 1 to 25 | +| **EuroMillions** (Europe) | Tuesdays, Fridays | 5 numbers from 1 to 50 and 2 Lucky Stars from 1 to 12 | +| **UK National Lottery (Lotto)** (UK) | Wednesdays, Saturdays | 6 numbers from 1 to 59 | +| **El Gordo** (Spain) | Weekly, special draw in December | 5 numbers from 0 to 54 | +| **SuperEnalotto** (Italy) | Tuesdays, Thursdays, Saturdays | 6 numbers from 1 to 90 | +| **Australian Powerball** (Australia) | Thursdays | 7 numbers from 1 to 35 and 1 Powerball number from 1 to 20 | +| **Oz Lotto** (Australia) | Tuesdays | 7 numbers from 1 to 45 | +| **Canada Lotto 6/49** (Canada) | Wednesdays, Saturdays | 6 numbers from 1 to 49 | +| **Canada Lotto Max** (Canada) | Fridays | 7 numbers from 1 to 50 | +| **France Loto** (France) | Mondays, Wednesdays, Saturdays | 5 numbers from 1 to 49 and 1 Lucky Number from 1 to 10 | +| **German Lotto (Lotto 6aus49)** (Germany) | Wednesdays, Saturdays | 6 numbers from 1 to 49 and 1 Superzahl from 0 to 9 | diff --git a/package.json b/package.json index ce39d1b..b89fd18 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "lottery-cli", - "description": "Command line tool to generate global lottery numbers", - "version": "0.0.0", + "description": "Command line tool to generate lottery numbers for major lotteries", + "version": "1.0.0", "author": "Mitul Patel", "bin": { "lottery": "./bin/run.js" @@ -52,11 +52,7 @@ "@oclif/plugin-plugins" ], "topicSeparator": " ", - "topics": { - "hello": { - "description": "Say hello to the world and others" - } - } + "topics": {} }, "repository": "bittricky/lottery-cli", "scripts": {