Skip to content

sanam2405/tenplustwo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

22 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

tenplustwo

CLI to fetch and save HS and Madhyamik results in bulk

Sample HS Result

Sample Directory Structure

results
β”œβ”€β”€ HS2024
β”‚Β Β  β”œβ”€β”€ 432521-1247.html
β”‚Β Β  β”œβ”€β”€ 432521-1248.html
β”‚Β Β  β”œβ”€β”€ 432521-1249.html
β”‚Β Β  β”œβ”€β”€ 432521-1250.html
β”‚Β Β  β”œβ”€β”€ 432521-1251.html
β”‚Β Β  β”œβ”€β”€ 432521-1252.html
β”‚Β Β  β”œβ”€β”€ 432521-1253.html
β”‚Β Β  β”œβ”€β”€ 432521-1254.html
β”‚Β Β  β”œβ”€β”€ 432521-1255.html
β”‚Β Β  β”œβ”€β”€ 432521-1256.html
β”‚Β Β  β”œβ”€β”€ 432521-1257.html
β”‚Β Β  β”œβ”€β”€ 432521-1258.html
β”‚Β Β  β”œβ”€β”€ 432521-1259.html
β”‚Β Β  β”œβ”€β”€ 432521-1260.html
β”‚Β Β  β”œβ”€β”€ 432521-1261.html
β”‚Β Β  β”œβ”€β”€ 432521-1262.html
β”‚Β Β  β”œβ”€β”€ 432521-1263.html
β”‚Β Β  β”œβ”€β”€ 432521-1264.html
β”‚Β Β  β”œβ”€β”€ 432521-1265.html
β”‚Β Β  β”œβ”€β”€ 432521-1266.html
β”‚Β Β  β”œβ”€β”€ 432521-1267.html
β”‚Β Β  β”œβ”€β”€ 432521-1268.html
β”‚Β Β  β”œβ”€β”€ 432521-1269.html
β”‚Β Β  β”œβ”€β”€ 432521-1270.html
β”‚Β Β  β”œβ”€β”€ 432521-1271.html
β”‚Β Β  β”œβ”€β”€ 432521-1272.html
β”‚Β Β  β”œβ”€β”€ 432521-1273.html
β”‚Β Β  β”œβ”€β”€ 432521-1274.html
β”‚Β Β  β”œβ”€β”€ 432521-1275.html
β”‚Β Β  β”œβ”€β”€ 432521-1276.html
β”‚Β Β  β”œβ”€β”€ 432521-1277.html
β”‚Β Β  β”œβ”€β”€ 432521-1278.html
β”‚Β Β  β”œβ”€β”€ 432521-1279.html
β”‚Β Β  └── 432521-1280.html
└── sampleoutput.png

Usage

   npm install -g tenplustwo
  • Run the tenplustwo command from the CLI
   tenplustwo --help
   tenplustwo -y <year> -r <roll> -l <lower_limit> -u <upper_limit>
   tenplustwo --year <year> --roll <roll> --lower <lower_limit> --upper <upper_limit>

Example

   tenplustwo -y 2024 -r 432521 -l 1247 -u 1350
   tenplustwo --year 2024 --roll 432521 --lower 1247 --upper 1350

Setting up locally

  • Clone the tenplustwo repository
    git clone [email protected]:sanam2405/tenplustwo.git
    cd tenplustwo
  • Install the dependencies
    npm install
  • Build the source
    npm run build
  • Fetch the results
   npm start -- -y <year> -r <roll> -l <lower_limit> -u <upper_limit>
   npm start -- --year <year> --roll <roll> --lower <lower_limit> --upper <upper_limit>

Example

   npm start -- -y 2024 -r 432521 -l 1247 -u 1350
   npm start -- --year 2024 --roll 432521 --lower 1247 --upper 1350

Releases

No releases published

Packages

No packages published