Salla Docs
Merchant API
  • Merchant API
  • Salla OAuth 2.0
Partner APIs
  • App API
  • Shipment API
Storefront
  • Twilight Engine
  • Twilight SDK
  • Web Components
  • Change Log
Salla CLI
Merchant API
  • Merchant API
  • Salla OAuth 2.0
Partner APIs
  • App API
  • Shipment API
Storefront
  • Twilight Engine
  • Twilight SDK
  • Web Components
  • Change Log
Salla CLI
Salla - Opensource
Salla - Developers Community
  1. Twilight Themes Command
  • Welcome to Salla CLI πŸ‘‹
  • Usage
  • Authorization
  • Help
  • Apps Command
    • Overview
    • Create App
    • Create Webhook
    • Delete
    • Link
    • List and Info
    • Serve
  • Twilight Themes Command
    • Overview
    • Create
    • Preview
    • List
    • Delete
    • Publish
  • Additional Resources
    • Upgrade and Version
    • Troubleshooting
  1. Twilight Themes Command

Overview

This section contains an overview and introduction to the Salla CLI Theme Commands. These commands allow the developer to create a Salla theme, view a live preview, list the themes, and delete theme.

INFO

Salla Themes are meticulously detailed in the Twilight Themes Documenation.

πŸ“™ What you'll learn

  • Create a Personal Access Token.
  • The different Salla theme commands.

Create a Personal Access Token

Personal Access Token or PAT are used as an alternative to passwords for authentication to Github with Salla CLI and GitHub APIs. This step is required for creating themes using Salla CLI. To create a PAT you need to do the following:

  1. Login to your Github account.
  2. Verify your email (if not done already)
  3. On the upper-right corner of any page, click your profile photo, then click Settings.
  4. In the left sidebar, click <> Developer settings.
  5. In the left sidebar, click Personal access tokens.
  6. Click on Generate new token.
  7. Give your token a descriptive name.
  8. Add an Expiration date for your token by clicking on Expiration drop-down menu then choose default or enter the date using calendar option.
  9. Select the scopes, or permissions, you'd like to grant this token. To use your token to access repositories from the command line, select repo.
  10. Click Generate token.
    Find out more about Personal Access Token here.

WARNING

The Token is to be treated as a password, that means you don't share it publicly and use the token as environment variables instead of hardcoding them into your programs when working with API.

The different Salla theme commands

  • Create
  • Preview
  • List
  • Delete
  • Publish
ِActionCommandAlias
Createcreatec
Previewpreviewp
Listlistl
Deletedeleted
Publishpublishp

CHECK

For a seamless command execution, it is essential for the developer to:
β€’ Execute the Salla login command to manage Salla Apps and Themes.
β€’ Connect own Partners Portal account with GitHub account using Personal Accesss Token.

Create

It is relatively simple to create a Salla theme using the Salla CLI command create. To create the theme, the developer has two options: create a new theme or import an existing one from GitHub. This article goes into greater detail about this command.

Preview

The developer could also preview the theme to see how it will appear in Salla stores. The Salla CLI command preview allows the developer to do that. More information about the preview command can be found here.

List

Using the list command, the developer is able to view a list of the themes that are associated with their Salla Partners account. Continue reading here.

Delete

The Salla CLI also gives users the ability to delete any themes they have created. Find further information in this article.

Publish

The publish command gives the developer the ability to publish the theme they have created to the Store Themes Marketplace, to be available for installation. More information on the publishing theme is found here.

Modified atΒ 2025-03-06 07:31:57
Previous
Twilight Themes Command
Next
Create