Skip to content

motanamy-cli Tool Guide

The motanamy-cli tool is an executable command-line interface that helps you create, develop, run, upload, and manage plugins for the Standalone Application (SA), Operating System (OS), and Enterprise Application (EA) platforms. This guide is tailored for the cross-platform executable version.

Installation

Before using the motanamy-cli tool, download the appropriate executable for your operating system from our releases page.

Windows

  1. Download the motanamy-cli.exe file.
  2. Move it to a directory that's included in your system's PATH.

macOS

  1. Download the motanamy-cli-macos file.
  2. Make it executable:
sh
chmod +x /path/to/motanamy-cli-macos
  1. Move it to a directory that's included in your system's PATH.

Linux

  1. Download the motanamy-cli-linux file.
  2. Make it executable:
sh
chmod +x /path/to/motanamy-cli-macos
  1. Move it to a directory that's included in your system's PATH.

Commands Overview

Create a New Plugin

To create a new plugin project, use the create-plugin command. Specify the type of application you are targeting (SA, OS, or EA).

sh
mot create <plugin-name> --type <application-type>

Example for creating a plugin for Enterprise Application (EA):

sh
mot create-plugin my-plugin --type EA

Example for creating a plugin for Standalone Application (SA):

sh
mot create-plugin my-plugin --type SA

Example for creating a plugin for Operating System (OS):

sh
mot create-plugin my-plugin --type OS

Run the Plugin

To run your plugin locally for testing, navigate to your plugin directory and use the run command:

sh
cd <plugin-directory>
mot run

Upload the Plugin

Before uploading your plugin, make sure you are logged in to your account using the login command:

sh
mot login

You will be prompted to enter your credentials.
After logging in, upload your plugin using the upload command:

sh
mot upload

To link an application path on your desktop, use the link command. This command allows you to select the type of application and specify the path.

sh
mot link

Display Help

To display help for the CLI tool and see a list of available commands, use the help command:

sh
mot help

Detailed Commands

create

Create a new plugin project.

Usage

sh
mot create <plugin-name> --type <application-type>

Options

  • <plugin-name>: The name of your plugin.
  • --type <application-type>: The type of application (SA, OS, EA).

Example:

sh
mot create my-plugin --type EA