{"repo":"Azure/azure-cli-dev-tools","free":true,"listed":false,"github":"https://github.com/Azure/azure-cli-dev-tools","clone":"git clone https://github.com/Azure/azure-cli-dev-tools.git","description":"Developer utilities for Azure CLI command module and extension developers.","language":"Python","stars":91,"topics":["azure","cli","microsoft","devops","devtools","developer-tools","developer"],"license":"MIT","category":"cli-tools","readme_excerpt":"Microsoft Azure CLI Dev Tools (azdev) The azdev tool is designed to aid new and experienced developers in contributing to Azure CLI command modules and extensions. Getting Started Videos 1. Cloning Repos 2. Setup with azdev setup 3. Basics with azdev style/test/linter 4. Creating modules with azdev cli create 5. Create extensions with azdev extension create 6. Publishing extensions with azdev extension publish Setting up your development environment 1. Install Python 3.6/3.7/3.8 from http://python.org. Please note that the version of Python that comes preinstalled on OSX is 2.7. Currently it's not recommended to use Python 3.9. 2. Fork and clone the repository or repositories you wish to develop for. - For Azure CLI: https://github.com/Azure/azure-cli - For Azure CLI Extensions: https://github.com/Azure/azure-cli-extensions - Any other repository that you might have access to that contains CLI extensions. After forking azure-cli , follow the below commands to set up: You can do the same for azure-cli-extensions except that the default branch for it is main , run git branch main --set-upstream-to upstream/main instead. See Authenticating with GitHub from Git about caching your GitHub credentials in Git which is needed when you push the code. 3. Create a new virtual environment for Python in the root of your clone. You can do this by running: Python 3.6+ (all platforms): or 4. Activate the env virtual environment by running: Windows CMD.exe: Windows Powershell: OSX/Linux (bash)","default_branch":null,"files":null,"tree":[],"storefront":"/r/Azure","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Azure/azure-cli-dev-tools/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}