Fetches Github repositories by username and sorts them by stargazers.
Clone this repository into your local machine.
Node and Npm are required for this program to work. Npm comes with node and can be downloaded from https://nodejs.org/en/download/. Alternatively, you can use the following commands to install Node.
curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
sudo apt install nodejs
node -v // To check installation was successful
First, cd into your project directory. Second, run the following command.
npm install
If successful the command will install all dependencies.
This program accepts two arguments, Github username, and sorting order.
./bin/run [username] [asc||desc]
./bin/run oclif asc
returns:
-v or --version
Prints out version number.
-h or --help
Prints out help.
--verbose
Turns on verbose mode.
To run the tests use command:
npm test
The test will check coding style with eslint. Tests will fail if eslint finds errors.
- Julian Santana - Jusantana
This project is licensed under the MIT License - see the LICENSE file for details