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

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

  • Persist history across different sessions

  • Fixed history while in scope

  • Updates to interactive telemetry

  • Fixed progress meter for long running operations

  • Completions more robust to command table exceptions

0.3.16

  • Fix issue where user is prompted to login when using interactive mode in Cloud Shell.

  • Fixed regression with missing parameter completions.

0.3.15

  • Fixed issue where command option completions no longer appeared.

0.3.14

  • Clean up unused test files

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

Metadata

Release files for azure-cli-interactive 0.3.17

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-interactive 0.3.17
File Size Uploaded
azure-cli-interactive-0.3.17.tar.gz 27.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for azure-cli-interactive 0.3.17
File Interpreter ABI Platform
azure_cli_interactive-0.3.17-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 66.0 kB

Release files / azure-cli-interactive-0.3.17.tar.gz

Download URL azure-cli-interactive-0.3.17.tar.gz
Size 27.8 kB
Tags Source
SHA-256 checksum
How to use checksums
9caaf5b335d059baa61f73506d9525a1aef94b6601fe7870420de2d39f95d62b
BLAKE2b-256 checksum
How to use checksums
fe940af67c327082d0505fb14e8740e932f1e18d565a27f2f2f1799ab4e74a52
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / azure_cli_interactive-0.3.17-py2.py3-none-any.whl

Download URL azure_cli_interactive-0.3.17-py2.py3-none-any.whl
Size 38.1 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
387fc7f4d6ba939eb84eec5a1a4d76fe62cf499107e90f476521175f6f4b41e3
BLAKE2b-256 checksum
How to use checksums
9f1f2eeb3e25d72a709def97f18d4ea03a2a58d16c6b3b82ad534f7cd07c8937
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

0.4.5

2 release files

0.4.4

2 release files

0.4.3

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.31

2 release files

0.3.30

2 release files

0.3.28

2 release files

0.3.27

2 release files

0.3.26

2 release files

0.3.23

2 release files

0.3.21

2 release files

0.3.19

2 release files

0.3.18

2 release files

This release

0.3.17 This release

2 release files

0.3.16

2 release files

0.3.15

2 release files

0.3.13

2 release files

0.3.11

2 release files

0.3.10

2 release files

0.3.9

2 release files

0.3.8

2 release files

0.3.7

2 release files

0.3.6

2 release files

0.3.5

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

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