A CLI tool for getting different sources of news.
npm install -g newsroom-cli
$ newsroom
You will enter a interactive command line interface. Choose the source you want to receive and press enter.
$ newsroom [source] [number]
You can see the latest news or articles from source which supported by this CLI.
$ newsroom --help
- Fork this repo.
- Pull your forked repo on your local machine.
git checkout master
in your local repo.git pull origin master
to ensure you have the latest main codegit checkout -b the-name-of-my-branch
to create a branch (remember to replacethe-name-of-my-branch
with a suitable name)
- Modify the source code in
src
folder. - Run
npm run lint
from the project root. Make sure it pass the check. May need to install node modules,npm install
in project root.
git add -A && git commit -m "My message"
(replacingMy message
with a commit message, such asFixed header logo on Android
) to stage and commit your changes.git push my-fork-name the-name-of-my-branch
- Make a pull-request.
MIT