Skip to content

inth3wild/LMU-Store-data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LMU-Store-data.

Command-line interface program that helps students quickly check, manage and keep track of their internet quota.

last-commit

Built with the following tools and technologies:

JavaScript Axios

Installing:

Requirements:

  • You need to have Node.js installed. Install node.js
  • Run the command npm i -g balance-store

Usage:

balance-store [command] [options]

Commands:

1. save : Save usernames in the database

options :

  • -f or --file

Example Usage :

  $ balance-store save

OR

  $ balance-store save -f /Path/To/File

NB: The file MUST contain the usernames and passwords in this format

  john.doe password1
  luxxxxx password2

save-usage

2. update : Update data balances in the database

options :

  • -f or --file
  • --auto

Example Usage :

  $ balance-store update

OR

  $ balance-store update --auto

OR

  $ balance-store update -f /Path/To/File

NB: The file MUST contain the usernames and passwords in this format

  john.doe password1
  luxxxxx password2

update-usage

3. display : Display the usernames and data balances

options :

  • --has-data
  • --empty
  • --invalid

Example Usage :

  $ balance-store display

OR

  $ balance-store display --has-data

OR

  $ balance-store display --empty

display-usage

4. remove : Remove a username or set of usernames from the database

Example Usage :

  $ balance-store remove

display-usage

Help

For more info run:
balance-store --help OR balance-store [command] --help

Project Structure

└── LMU-Store-data/
    ├── README.md
    ├── commands
    │   ├── display.js
    │   ├── remove.js
    │   ├── save.js
    │   └── update.js
    ├── database
    │   └── db.js
    ├── index.js
    ├── media
    │   ├── display-edited.png
    │   ├── remove-edited.png
    │   ├── resources.txt
    │   ├── save-edited.png
    │   └── update-edited.png
    ├── modules
    │   ├── displayTable.js
    │   ├── encryptData.js
    │   ├── milk.js
    │   ├── sendRequests.js
    │   └── useRegex.js
    ├── package-lock.json
    └── package.json

About

A command-line interface program that helps students quickly check, manage and keep track of their internet quota.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors