Help >
Azure
PreviousNext

Getting Started

Getting Started

Coming Soon...

Calling Command Line

Commands can be executed in three different ways

1. Interactive Mode: Launch ZappyShell application and then use interactive mode to execute context specific command. In this mode session doesn't terminate until you issue [exit] command. To execute context specific command you must change context before running that command otherwise you may get an error such as 'Unknown command xyz'.
Syntax:

CONTEXT:> COMMAND [OPTION1 OPTION2...]

2. Direct Mode: Pass command name and option(s) directly on command line. This method is helpful if you have single command you want to execute and exit the shell once command completes. You may use this method if you calling ZappyShell commands from Batch file or any other script such as PowerShell/Python script files.
Syntax:

azure.exe [CONTEXT] COMMAND [OPTION1 OPTION2...]

3. Execute Script File: ZappyShell supports calling command from script file using EXEC command. Script file allows you to execute multiple commands in one single file. You can also put comments and wrap options on new line to make long commands more readable.
Syntax:

azure.exe exec  [OPTION1 OPTION2...]

Here is sample of script file. You can enter multiple commands, enter comments, wrap arguments on new lines with multi-line approach.

sample-script.txt

#this is sample script file
setopt width 100
setopt height 80
#change command context
blob
#example of multi line command (new line must start with - or -- to be treated as single command)
put c:\files\*.txt /testroot
  --overwrite	
  --content-disposition text\plain
exit 0
Here is how you can execute on command line
c:\zappyshell>azure.exe exec c:\sample-script.txt

Available Context

Context Commands Description
blob 25 Command(s) commands to perform azure blob operations


www.zappysys.com | Products | All copyrights reserved. ZappySys LLC.