Skip to content

czndy/azure-get-enviroment-variables

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Azure Get Environment Variables

The objective of this packet is to simplify the variable transfer from Azure DevOps to .env file, making it easier to run the application locally, without the need to copy and paste the variables manually.

Requisitos

Make sure to attend to the following requirements before executing the command:

az login --allow-no-subscriptions
  • After first try, it will install azure-devops extension if not installed. After that, run the command above again and it will work

  • Azure CLI might ask you to inform your organization. In order to do that, run the following command, don't forget to change '/my_org_name/' to your organization name.

az devops configure --defaults organization=https://dev.azure.com/my_org_name/
  • Make sure to have access to the Azure DevOps libraries
  • Install this packet globally

Installation

To install this packet globally, run the following command on your terminal:

npm install -g azure-get-enviroment-variables

Demonstration

After authenticating to Azure CLI, run the following command in your terminal:

npx azure-get-enviroment-variables 'project name' -- 'library name'

Make sure to replace 'project name' and 'library name' with the real project and library names.

Authors

Contributors

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%