Skip to content

Latest commit

 

History

History
110 lines (59 loc) · 1.73 KB

README.rst

File metadata and controls

110 lines (59 loc) · 1.73 KB

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