Skip to content

Latest commit

 

History

History

interactive

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Azure CLI Interactive Mode

The interactive mode 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
  • Query the previous command
  • Navigation of example pane
  • Optional layout configurations
  • Optional "az" component
  • Fun Colors

Overview

Updates

Azure CLI Shell is now Azure CLI Interactive Mode. To get updates, install the newest version of the CLI! First, uninstall the deprecated shell applications with:

   $ pip uninstall azure-cli-shell

Running

To start the application

   $ az interactive

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]

Clear History

   $ clear-history

Only clears the appended suggestion when you restart the interactive shell

Clear Screen

   $ clear

Change colors

   $ az interactive --styles [option]

The color option will be saved.