helper script for windows shell environments #521
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The following provides a helper script to invoke the
crowdin
CLI in a Windows shell environment (e.g. MinGW), without having to specify thebat
extension.The existing Crowdin CLI installation on Windows can run
crowdin
from a command line prompt as expected:However, if a user starts a shell environment (e.g. MinGW from Git SCM tools), the environment will complain that the command cannot be found:
Users can workaround this by adding the
.bat
extension:And if an environment includes the provided helper script in this pull request, it drops the requirement of needing to specify the extension: