If you want to contribute to this, please first take a look at the open issues.
Feel free to grab any or create your own one and open a PR.
This project contains a Makefile.
To get started just use the default target:
make coverage-check
Which will build and run tests.
This project aims for at least 80% test coverage. When adding code, add tests.
To check test coverage you can run:
make ch
To build a runnable binary a pocket App consumer-key is needed.
-
Create an App with
Add, Modify, Retrieve
permissions at https://getpocket.com/developer -
Copy the
consumer key
of that app -
Run
.ci/release.sh {your consumer key} dev-$(git rev-parse --short HEAD) pocket-cli
-
Run the binary:
./pocket-cli
This project uses conventional commits.
With the following types (based on angular conventions):
- ci: Changes to anything Build and Test related
- docs: Documentation only changes
- feat: A new feature
- fix: A bug fix
- refactor: A code change that neither fixes a bug nor adds a feature
- test: Adding missing tests or correcting existing tests
- style: A code change only affecting style/formatting
When creating a commit, strive for atomic commits with good commit messages.