ENV variable in addition to alias for crowdin cli v3
See original GitHub issueWe have a wrapper around Crowdin CLI and there’s a small issue with migrating to v3. It relies on alias which is not available from bash script. As a workaround we have to do
shopt -s expand_aliases
source ~/.bashrc
But it doesn’t feel clean enough.
What about adding ENV var together with alias, like
export CROWDIN_COMMAND="java -jar /usr/local/bin/crowdin-cli.jar"
?
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:24 (21 by maintainers)
Top Results From Across the Web
Configuration File | Crowdin Developer Portal
Introduction. Crowdin CLI uses a configuration file that contains a description of the resources to manage: files to be uploaded into Crowdin and...
Read more >Configuration file is invalid #336 - crowdin/crowdin-cli - GitHub
In my project root directory I have. crowdin.yml: project_id_env: CROWDIN_PROJECT_ID api_token_env: CROWDIN_API_TOKEN .env:
Read more >How do I include an environment variable inside an alias for ...
Correct answer, just be careful aliasing test , it is an actual command. – Kevin. Jun 23, 2012 at 19:15. 4.
Read more >Robot Framework User Guide
To use Python 3, you can use python3 command or even more version specific ... The PATH environment variable lists directories where commands...
Read more >Managing Aliases and environment variables in Ionic v3 ...
So, we wanted to have environment variables work in Ionic v3 exactly like how they do in Angular CLI, whilst also supporting Karma...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Great, we will consider adding the environment variable to this script. Thank you for the suggestion!
I think that given the recent installer changes this request is not relevant anymore for @yefrem and me.
@yefrem can you confirm that?