About Pull Requests (PR)
- Prerequisite: Read About the definition of completion first.
- Fork the PSCompletions repository and clone it locally for your changes.
- After finishing your edits, commit and open a Pull Request.
Updating JSON content
TIP
- Improve completion tip text (the
tipfield). - Add any missing commands or options.
Link the completion for testing:
shell.\scripts\link-completion.ps1 gitCheck known gaps:
shell.\scripts\compare-json.ps1 gitWhen done, update its guid:
shell.\scripts\update-guid.ps1 git
Adding a new language
TIP
Example: add zh-HK support for git.
Edit
completions\git\config.jsonand appendzh-HKto thelanguagearray.Create
completions\git\language\zh-HK.jsonand translate thetipstrings.Update the guid:
shell.\scripts\update-guid.ps1 git
Creating a new command completion
Using
testas an example.
Create the new completion:
shell.\scripts\create-completion.ps1 testModify the new completion and
config.jsonas needed.Update the guid:
shell.\scripts\update-guid.ps1 test