Developer utilities for Azure CLI command module and extension developers.
Перейти к файлу
Travis Prescott 36ae406576 Fix issues when installed from edge build. 2019-08-02 09:25:45 -07:00
azdev Fix issues when installed from edge build. 2019-08-02 09:25:45 -07:00
scripts Updates to run on ADO (#112) 2019-07-05 14:35:14 -07:00
.flake8 azdev scaffolding commands and setup tweaks (#85) 2019-06-07 15:12:18 -07:00
.gitignore Setup fixes (#104) 2019-07-02 11:51:34 -07:00
.pylintrc Fix up CI. (#25) 2019-02-09 09:14:56 -08:00
HISTORY.rst Fix issues when installed from edge build. 2019-08-02 09:25:45 -07:00
LICENSE azdev initial commit 2018-11-21 15:15:09 -08:00
MANIFEST.in Add CI tests for azdev commands (setup, style, test, linter) (#110) 2019-07-03 10:15:16 -07:00
README.md Add video links to readme. (#118) 2019-07-29 10:52:12 -07:00
README.rst Update build (#99) 2019-06-27 14:52:09 -07:00
azdev.pyproj just fixing project file (#89) 2019-06-10 08:44:56 -07:00
azdev.sln azdev initial commit 2018-11-21 15:15:09 -08:00
azure-pipelines.yml Add CI tests for azdev commands (setup, style, test, linter) (#110) 2019-07-03 10:15:16 -07:00
pyproject.toml Repo fix-up 2019-01-11 08:40:57 -08:00
pytestdebug.log Test case groundwork. 2019-01-17 16:15:01 -08:00
setup.cfg Repo fix-up 2019-01-11 08:40:57 -08:00
setup.py [New Command] add azdev generate-docs (#109) 2019-07-18 09:05:49 -07:00
tox.ini Update build (#99) 2019-06-27 14:52:09 -07:00

README.md

Microsoft Azure CLI Dev Tools (azdev)

Python Build Status

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.5+ or 2.7+ from http://python.org. Please note that the version of Python that comes preinstalled on OSX is 2.7.

  2. Fork and clone the repository or repositories you wish to develop for.

  3. Create a new virtual environment for Python in the root of your clone. You can do this by running:

    Python 3.5+ (all platforms):

    python -m venv env
    

    or

    python3 -m venv env
    

    Python 2.7+ (all platforms)

    python -m virtualenv env
    
  4. Activate the env virtual environment by running:

    Windows CMD.exe:

    env\scripts\activate.bat
    

    Windows Powershell:

    env\scripts\activate.ps1
    

    OSX/Linux (bash):

    source env/bin/activate
    
  5. Install azdev by running: pip install azdev

  6. Complete setup by running: azdev setup

This will launch the interactive setup process. To see non-interactive options run azdev setup -h.

Reporting issues and feedback

If you encounter any bugs with the tool please file an issue in the Issues section of our GitHub repo.

Contribute Code

This project has adopted the Microsoft Open Source Code of Conduct.

For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

If you would like to become an active contributor to this project please follow the instructions provided in Microsoft Azure Projects Contribution Guidelines.

License

Azure CLI Dev Tools (azdev)

Copyright (c) Microsoft Corporation
All rights reserved.

MIT License

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the ""Software""), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.