Skip to main content

Microsoft Azure Command-Line Interactive Shell

Project description

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.1.1

  • Preview release

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.1c1.tar.gz (25.8 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for azure-cli-shell-0.1.1c1.tar.gz
Algorithm Hash digest
SHA256 eda65702ed65d1a566713f94b2904536a8d8e668271de289500b6c87cd1b9746
MD5 e6b4ae491c046698346327f7a20df835
BLAKE2b-256 07b98c14382db162e5e223b25566af9fd33d466df17891aa94c31e81f0195e91

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