Help
This section is designated to access help content on Salla CLI. Using -h or --help
both provide information about the command. Below sections explain salla -h/--help
, salla app -h/--help
and salla theme -h/--help
.
📙 What you'll learn
For a general check on Salla CLI commands the developer can run the following
salla -h
This will display all the commands and options available in the salla CLI version that is installed.
Usage: salla [command]
Options:
-V, --version output the version number
-h, --help display help for command
Commands:
app Start building your New Salla Partners App
help display help for command
info Display info about your App to track issues.
login Login to your Salla Partners account
logout Logout from your Salla Partners account
store Create Demo Stores for testing.
theme Your gateway to creating elegant Salla Themes.
Help command sections
The help command results are displayed in a three sections, which are:
Usage, to illustrate the use of the command
Usage: salla [command]
Options, which can be used for the specified command line.
Options:
-V, --version output the version number
-h, --help display help for command
Commands, lisiting the commands syntax.
Commands:
app Start building your New Salla Partners App
help display help for command
info Display info about your App to track issues.
login Login to your Salla Partners account
logout Logout from your Salla Partners account
store Create Demo Stores for testing.
theme Your gateway to creating elegant Salla Themes.
Salla CLI commands for Salla Apps are also available, use the below command to get the commands associated with Salla App.
salla app -h
Which displays the Salla App CLI commands.
Usage: salla app [options] [command]
Start building your New Salla Partners App
Options:
-h, --help display help for command
Commands:
create Wizard to help you create a new Salla
Partners App.
serve|s [options] Serve, test, and view your Salla Partners
App.
create-webhook [options] Creates a new webhook events file.
delete|d Delete your Salla Partners App locally
and remotely.
list|l List your Salla Partners Apps.
info|i Show detailed App information.
link|k Link your local project to Salla Partners
App.
publish|p Publish your App to Salla.
help [command] display help for command
Salla Themes also use Salla CLI commands to create and manage themes.
salla theme --help
The above command displays a list of Salla themes CLI commands.
Usage: salla theme [options] [command]
Your gateway to creating elegant Salla Themes.
Options:
-h, --help display help for command
Commands:
create|c Create a new theme. You can also import a theme.
preview|p [options] Preview the theme being created using a Demo
Store as a live environment.
list|l List of the themes that are linked to your Salla
Partners account.
delete|d Delete a theme from the themes connected your
Salla Partners Account.
publish|s Publish a theme to make it available in the
Salla Themes Marketplace.
help [command] display help for command
Getting specific command help
Developers may obtain help for specific commands using command syntax with the help option using -h or --help
.
For instance, to get further details on Salla App list command
salla store -h
This will provide addtional info about the command and how the user can use it.
Usage: salla store [options] [command]
Create Demo Stores for testing.
Options:
-h, --help display help for command
Commands:
create|c Create a new store .
list|l List the stores that are linked to your Salla
Partners account.
help [command] display help for command
In the above example, the salla store -h
command displayed the usage, options and commands for Salla store.