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

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] [sub-level command] etc

To undefault a value

$ %% ..

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-history

Release History

0.3.13

  • Fix issue where interactive would not start on Python 2.

  • Fix errors on start up

  • Fix some commands not running in interactive mode

0.3.12

  • Update for CLI core changes.

0.3.11

  • minor fixes

0.3.10 (2017-09-22)

  • minor fixes

0.3.9 (2017-08-31)

  • minor fixes

0.3.8 (2017-08-28)

  • minor fixes

0.3.7 (2017-07-27)

  • Improves the start up time by using cached commands

0.3.7 (2017-07-27)

  • Increase test coverage

0.3.5 (2017-06-21)

  • Enhance the ‘?’ gesture to also inject into the next command

0.3.4 (2017-06-13)

  • Fixes Interactive errors with the profile 2017-03-09-profile-preview (#3587)

  • Allows ‘–version’ as a parameter for interactive mode (#3645)

  • Stop Interactive Mode from Throwing errors from Validation completions (#3570)

  • Progress Reporting for template deployments (#3510)

0.3.3 (2017-05-30)

  • –progress flag

  • Removed –debug and –verbose from completions

0.3.2 (2017-05-18)

  • Bug fixes.

  • Remove ‘interactive’ from completions (#3324)

0.3.1 (2017-05-09)

  • Add link to blog in ‘az interactive —help’ (#3252)

0.3.0 (2017-05-05)

  • Integrate interactive into az

  • Colors Options

  • Rename ‘shell’ => ‘interactive’

0.2.1

  • CLI Performance changes integrated

0.2.0

  • Public Preview release

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-interactive-0.3.13.tar.gz (27.6 kB view details)

Uploaded Source

Built Distribution

azure_cli_interactive-0.3.13-py2.py3-none-any.whl (36.5 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file azure-cli-interactive-0.3.13.tar.gz.

File metadata

File hashes

Hashes for azure-cli-interactive-0.3.13.tar.gz
Algorithm Hash digest
SHA256 c4ee515b079d6ab883b278e00d7673834bb9bc54d68c19446189b514dc4c3030
MD5 8d11b143b4e72c443332aa9ab90fc809
BLAKE2b-256 88a1526e36b85e7ebc5a883c7a87f929c7ecda3e90d769dc054c6e03c2ba78e0

See more details on using hashes here.

File details

Details for the file azure_cli_interactive-0.3.13-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for azure_cli_interactive-0.3.13-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 409d55447b9b3bf4023e9af35efb86d6d7e3da1c8abbf43622a587af6a278724
MD5 29bbc6efae3b54055a63e3c48779ec20
BLAKE2b-256 3565270127a80dd0203b5f47b5cfedeb98eef6dd57845b9fb9a1fa7cd44d5c53

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