Skip to main content

Microsoft Azure Command-Line Interactive Shell

Project description

Azure CLI Interactive Shell
****************************
The interactive shell for Microsoft Azure CLI (Command Line Interface)
######################################################################

* Interactive Tutorials
* Lightweight Drop Down Completions
* Auto Cached Suggestions
* Dynamic parameter completion
* On the fly descriptions of the commands AND parameters
* On the fly examples of how to utilize each command
* Optional "az" component
* Query the previous command
* Navigation of example pane
* Optional layout configurations
* Fun Colors


Installation
############
.. code-block:: console

$ pip install azure-cli-shell

Running
########

To start the application

.. code-block:: console

$ az-shell

Then type your commands and hit [Enter]

To use commands outside the application

.. code-block:: console

$ #[command]

To Search through the last command as json
jmespath format for querying

.. code-block:: console

$ ? [param]

*Note: Only if the previous command dumps out json, e.g. vm list*

To only see the commands for a command

.. code-block:: console

$ %% [top-level command]

To undefault a value

.. code-block:: console

$ ^^ [value to undefault]


Use Examples
########

Type a command, for example:

.. code-block:: console

$ vm create

Look at the examples

*Scroll through the pane with Control H for up and Control N for down #*

Pick the example you want with:

.. code-block:: console

$ vm create :: [Example Number]

Dev Setup
########

Fork and clone repository

.. code-block:: console

$ . dev_setup.py

To get the Exit Code of the previous command:

.. code-block:: console

$ $

Docker Image
############

There is a docker image on docker hub

.. code-block:: console

$ docker run -i -t oakeyc/az-cli-shell:latest
root:/# az-shell

Windows Usage
#############

To backspace on Windows Powershell, use ShiftBackspace or ControlBackspace

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

azure-cli-shell-0.1.1a3.tar.gz (20.4 kB view details)

Uploaded Source

File details

Details for the file azure-cli-shell-0.1.1a3.tar.gz.

File metadata

File hashes

Hashes for azure-cli-shell-0.1.1a3.tar.gz
Algorithm Hash digest
SHA256 d2b75fed358bde8bfd19ced089c256b1a7a9fb7d48893d2bbec0970ace027a5b
MD5 094ab8d1b597b215f6f9294bba1a86ac
BLAKE2b-256 8e52a537ec8665e61d3aa88f19b14c3359efd6dc79378a99888969a2471c49a7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page