Skip to main content

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

  • Defaulting scopes of commands

  • 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

$ pip install --user azure-cli-shell

Running

To start the application

$ az-shell

Then type your commands and hit [Enter]

To use commands outside the application

$ #[command]

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

$ ? [param]

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

To only see the commands for a command

$ %% [top-level command]

To undefault a value

$ ^^ [value to undefault]

Use Examples

Type a command, for example:

$ vm create

Look at the examples

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

Pick the example you want with:

$ vm create :: [Example Number]

Dev Setup

Fork and clone repository

$ . dev_setup.py

To get the Exit Code of the previous command:

$ $

Clear History

Only clears the appended suggestion when you restart the shell

$ clear

Docker Image

There is a docker image on docker hub

$ docker pull oakeyc/az-cli-shell:latest
$ docker run -it oakeyc/az-cli-shell:latest
root#: az-shell

Release History

0.2.0

  • Public Preview release

0.1.1

  • Preview release

Metadata

Release files for azure-cli-shell 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for azure-cli-shell 0.2.2
File Size Uploaded Provenance Actions
azure-cli-shell-0.2.2.tar.gz 23.7 kB Without provenance Details for azure-cli-shell-0.2.2.tar.gz

Release files / azure-cli-shell-0.2.2.tar.gz

Download URL azure-cli-shell-0.2.2.tar.gz
Size 23.7 kB
Tags Source
SHA-256 checksum
How to use checksums
c51cc276c064573321d9a6b1b03c2eaf9c822604a84d45ee2c63a22bdf7342eb
BLAKE2b-256 checksum
How to use checksums
6b79064c48cdce40ddf23368783833fc02be15f96a4b84d0b795f2bb8765a43e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for azure-cli-shell 0.2.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.2 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page