azure-cli-dev-tools icon indicating copy to clipboard operation
azure-cli-dev-tools copied to clipboard

Developer utilities for Azure CLI command module and extension developers.

Results 137 azure-cli-dev-tools issues
Sort by recently updated
recently updated
newest added

I installed Python on Windows 10 using winget. Unfortunately, it installs Python 3.9 which does not appear to be supported yet. ``` winget search python winget install Python.Python ``` ```...

Hi there :) I've followed video tutorial instructions in Windows machine. I'm unable to install extensions. My python3 version is **3.9.1.** Here is the command: ```powershell $ azdev extension add...

wait-for-customer-response

The 'psutil~=5.7' distribution was not found and is required by azure-cli So often after using az dev setip I get errors about psutil ``` pmiller@millercloud:~/azure-cli$ azdev setup -c ======================= |...

When I run azdev test I get ``` File "/home/pmiller/azure-cli-extensions/penv/lib/python3.8/site-packages/azdev/operations/testtool/__init__.py", line 329, in _get_test_index test_index = _discover_tests(profile) File "/home/pmiller/azure-cli-extensions/penv/lib/python3.8/site-packages/azdev/operations/testtool/__init__.py", line 200, in _discover_tests profile_split = profile.split('-') TypeError: a bytes-like object...

Here I am not specifying -c to azdev setup so it comes from py pi ``` python3 -m venv azdev2 2044 source azdev2/bin/activateive 2045 pip install azdev 2046 azdev setup...

``` ❯ azdev test test_storage_blob_upload --discover ============= | Run Tests | ============= ===================== | Discovering Tests | ===================== (six 1.14.0 (e:\microsoft\azurecli\azure-cli-extensions\env\lib\site-packages), Requirement.parse('six==1.12'), {'astroid'}) Traceback (most recent call last): File "e:\microsoft\azurecli\azure-cli-extensions\env\lib\site-packages\pkg_resources\__init__.py",...

pytest has a parameter ``` -x, --exitfirst exit instantly on first error or failed test. ``` while azdev test has a opposite parameter ``` --no-exitfirst : Do not exit on...

Test

I coudn't figure out why my local extension I was working on wasn't being picked up. Then I rean this ``` (penv) pmiller@millercloud:~$ /usr/bin/az --version azure-cli 2.14.2 core 2.14.2 telemetry...

Need investigation first to choose the tools - [ ] resource_group_name should not be decorated(param) within command module. - [ ] Tags need to use tag type(same with location/resource group)...

Linter

A real customer's requirement: install all extensions from source code using one command instead of typing every extension name. E.g. ``` azdev extension add-all ```

Extension