Azure Command-Line Interface
Перейти к файлу
Johan Stenberg 0cd0f7243e Revert capabilities to specify multiple tags since the server doesn't support that :( 2016-04-26 17:33:28 -07:00
.vscode Add Python3 configuration to launch.json + change from tab to two spaces 2016-02-22 17:26:08 -08:00
bin Replaces gettext loc with custom 2016-02-16 11:25:00 -08:00
doc Address code review comments. 2016-04-08 16:18:02 -07:00
libs use latest adal library (#162) 2016-04-26 10:56:38 -07:00
scripts Support tab completion with shell script method 2016-04-22 14:26:34 -07:00
src Revert capabilities to specify multiple tags since the server doesn't support that :( 2016-04-26 17:33:28 -07:00
.gitattributes Fixes line endings and adds some INFO and TODO comments 2016-02-09 08:26:49 -08:00
.gitignore Ignore vscode workspace settings file 2016-03-24 15:03:07 -07:00
.hgeol Initial creation. 2016-02-05 21:24:52 -08:00
.travis.yml Integrate with Travis CI & Clean up code 2016-04-10 22:56:07 -07:00
Dockerfile Update Dockerfile to use curl command for installing the CLI 2016-04-20 15:06:12 -07:00
Dockerfile-2.7 Update Dockerfile 2.7 2016-04-20 17:25:41 -07:00
MANIFEST.in Create all component packages 2016-03-25 14:58:49 -07:00
README.rst Support tab completion with shell script method 2016-04-22 14:26:34 -07:00
az create docker file based on python3 and pip3 2016-03-04 12:36:18 -08:00
az.bat Simple batch file wrapper for az 2016-02-29 17:23:58 -08:00
az.completion.sh Update shell statement completion script to make use of argcomplete 2016-04-13 15:13:03 -07:00
azure-cli.pyproj Combine list and list-all VM commands. 2016-04-26 09:47:28 -07:00
azure-cli.sln Adds VS project files 2016-02-13 10:15:46 -08:00
lintall.bat Address code review comments. 2016-04-08 16:18:02 -07:00
pylintrc enabled lint error for trailing whitespaces 2016-03-01 08:09:20 -08:00
requirements.txt use latest adal library (#162) 2016-04-26 10:56:38 -07:00
setup.cfg support login using aad device flow 2016-03-18 19:45:37 -07:00
setup.py use latest adal library (#162) 2016-04-26 10:56:38 -07:00
testall.bat Fix issue with 'exists' in scripts. FINALLY. 2016-04-21 10:50:36 -07:00

README.rst

Microsoft Azure Command-Line Tools
==================================

This is the Microsoft Azure CLI.

This package has [not] been tested [much] with Python 2.7, 3.4 and 3.5.


Installation
============

cURL Installation
-----------------

To install via cURL on Linux, Unix and OS X, type:

.. code:: shell

    curl http://azure-cli-nightly.cloudapp.net/install | bash

If you chose to enable tab completion, type `exec -l $SHELL` to restart your shell.

Note: This will install the latest nightly builds.

**Errors on install with cffi or cryptography:**

If you get errors on install on **OS X**, upgrade pip by typing:

.. code:: shell

    pip install --upgrade --force-reinstall pip


If you get errors on install on **Debian or Ubuntu** such as the examples below,
install libssl-dev, libffi-dev and python3-dev by typing:

.. code:: shell

    sudo apt-get update
    sudo apt-get install -y build-essential libssl-dev libffi-dev python3-dev


**Example Errors**

.. code:: shell

    Downloading cffi-1.5.2.tar.gz (388kB)
      100% |################################| 389kB 3.9MB/s
      Complete output from command python setup.py egg_info:
    
          No working compiler found, or bogus compiler options
          passed to the compiler from Python's distutils module.
          See the error messages above.
          (If they are about -mno-fused-madd and you are on OS/X 10.8,
          see http://stackoverflow.com/questions/22313407/ .)
    
      ----------------------------------------
    Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-77i2fido/cffi/

.. code:: shell

    #include <openssl/e_os2.h>
                             ^
    compilation terminated.
    error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
    
    Failed building wheel for cryptography

`See Stack Overflow question - Failed to install Python Cryptography package with PIP and setup.py <http://stackoverflow.com/questions/22073516/failed-to-install-python-cryptography-package-with-pip-and-setup-py>`__


Download Package
----------------

To install via the Python Package Index (PyPI), type:

.. code:: shell

    pip install azure-cli


Download Source Code
--------------------

To get the source code of the SDK via **git** type:

.. code:: shell

    git clone https://github.com/Azure/azure-cli.git


Usage
=====



Need Help?
==========

Be sure to check out the Microsoft Azure `Developer Forums on Stack
Overflow <http://go.microsoft.com/fwlink/?LinkId=234489>`__ if you have
trouble with the provided code.


Contribute Code or Provide Feedback
===================================

If you would like to become an active contributor to this project please
follow the instructions provided in `Microsoft Azure Projects
Contribution
Guidelines <http://azure.github.io/guidelines.html>`__.

If you encounter any bugs with the tool please file an issue in the
`Issues <https://github.com/Azure/azure-cli/issues>`__
section of the project.


Learn More
==========

`Microsoft Azure Python Developer
Center <http://azure.microsoft.com/en-us/develop/python/>`__