motanamy-cli
v1.0.3
Published
A command-line interface tool to create, develop, run, and upload plugins for SA, OS, and EA platforms.
Downloads
13
Readme
Motanamy CLI Tool
The motanamy-cli
tool is a command-line interface that helps you create, develop, run, and upload plugins for the Standalone Application (SA), Operating System (OS), and Enterprise Application (EA) platforms.
Installation
Before using the motanamy-cli
tool, ensure you have Node.js installed. You can download it from Node.js.
Install the motanamy-cli
tool globally using npm:
npm install -g motanamy-cli
Commands Overview
Create a New Plugin
To create a new plugin project, use the create command. Specify the type of application you are targeting (SA, OS, or EA).
mot create <plugin-name> --type <application-type>
Example for creating a plugin for Enterprise Application (EA):
mot create-plugin my-plugin --type EA
Example for creating a plugin for Standalone Application (SA):
mot create-plugin my-plugin --type SA
Example for creating a plugin for Operating System (OS):
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:
cd <plugin-directory>
mot run
Upload the Plugin
Before uploading your plugin, ensure you are logged in to your account using the token command:
mot toekn add
You will be prompted to enter your credentials. After logging in, upload your plugin using the upload command:
mot upload
Link Application Path
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.
mot link add
Plugin List
To list all plugins
mot list
download
download plugin
mot download
build
build plugin
mot build
merge
merge list of plugins located in directly
mot merge
install
install dependencies
mot install
Display Help
To display help for the CLI tool and see a list of available commands, use the help command:
mot help
Detailed Commands
create
Create a new plugin project.
Usage
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:
mot create my-plugin --type EA