First off, thank you for considering contributing to Project Level Shortcuts!
It's people like you that make pls such a great tool. ❤️ 🐦
This section guides you through submitting a bug report for pls. Following these guidelines helps maintainers and the community understand your report, reproduce the behavior, and find related reports.
- Use a clear and descriptive title for the issue to identify the problem.
- Describe the exact steps which reproduce the problem in as many details as possible.
- Provide specific examples to demonstrate the steps.
This section guides you through submitting an enhancement suggestion for pls, including completely new features and minor improvements to existing functionality.
- Use a clear and descriptive title for the issue to identify the suggestion.
- Provide a step-by-step description of the suggested enhancement in as many details as possible.
- Provide specific examples to demonstrate the steps or point out the part of pls which the suggestion is related to.
- Explain why this enhancement would be useful to most pls users.
- Optionally, suggest how you think your enhancement could be implemented.
I retain the right to reject any suggestions that I don't see fit for the project, but please don't let that discourage you from suggesting improvements or reporting bugs!
Pull Requests are always welcome - I will do my best to review them in a timely manner. I cannot promise your feature will always get accepted. If you have any questions, feel free to open an issue or discussion. My only real 'rule' is that you should write unit tests for the new features you add.
-
Building
plsis made usingbashly. To get started, you'll need to installbashly. Please refer to the installation instructions on thebashlywebsite.You can run
bashly generateto generate the newplsscript containing your changes. You can then run./plsin the root of this repository to test your changes.bashly generate -wwill watch for changes and regenerate the script automatically. -
Testing
plsalso usesshellspecfor unit tests. To run the tests, you'll need to installshellspec. Please refer to the installation instructions in theshellspecrepository.You can then run
shellspec --shell bash --format documentationto run the tests.
But hey, who are we kidding? Of course pls comes with a pls file of its own, so to build or test, you can just run pls build or pls test!