New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@molacms/cli

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@molacms/cli

The Mola CMS all-in-one CLI

latest
Source
npmnpm
Version
0.0.9
Version published
Weekly downloads
5
150%
Maintainers
1
Weekly downloads
 
Created
Source

@molacms/cli

The Mola CMS all-in-one CLI

Getting started

  • Install globally:
npm i -g @molacms/cli
  • Use the global CLI:
mola new blank myApp

See the homepage for more: https://mola.lamnhan.com

Command overview

The Mola CMS all-in-one CLI

Command reference

add

Add a components, pages, ...

Usage:

mola add <input> [params...]
mola generate <input> [params...]
mola a <input> [params...]
mola g <input> [params...]

Parameters:

  • <input>: An input string
  • [params...]: List of parameters

build

Build the app.

Usage:

mola build
mola b

claim

Manange user claim.

Usage:

mola claim <subCommand> [params...]
mola c <subCommand> [params...]

Parameters:

  • <subCommand>: A supported sub-command: get, set
  • [params...]: List of sub-command parameters

database

Database related commands.

Usage:

mola database <subCommand> [params...]
mola db <subCommand> [params...]

Parameters:

  • <subCommand>: A supported sub-command: init, import, export, backup, restore, setup
  • [params...]: List of sub-command parameters

deploy

Deploy the app.

Usage:

mola deploy
mola d

docs

Open documentation.

Usage:

mola docs
mola home
mola h

e2e

E2e test the app.

Usage:

mola e2e
mola e

info

Display project information.

Usage:

mola info
mola i

new

Create a new project.

Usage:

mola new <theme> <projectName> [appDomain] [appName] [appDescription] --source [value] --deploy [value] --locale [value] --skin [value] --soul [value] --skip-install --skip-git
mola start <theme> <projectName> [appDomain] [appName] [appDescription] --source [value] --deploy [value] --locale [value] --skin [value] --soul [value] --skip-install --skip-git
mola n <theme> <projectName> [appDomain] [appName] [appDescription] --source [value] --deploy [value] --locale [value] --skin [value] --soul [value] --skip-install --skip-git

Parameters:

  • <theme>: A Mola theme input.
  • <projectName>: The project name.
  • [appDomain]: The web app domain name.
  • [appName]: The web app name.
  • [appDescription]: The web app description.

Options:

  • -s, --source [value]: Custom Mola theme source (url/path to .zip).
  • -d, --deploy [value]: Deploy service (github/firebase).
  • -l, --locale [value]: Change or add locales (commna-separated).
  • -k, --skin [value]: Change or add Unistylus skins (commna-separated).
  • -o, --soul [value]: Change Unistylus soul.
  • -i, --skip-install: Do not install dependency packages.
  • -g, --skip-git: Do not initialize a git repository.

preview

Preview the app.

Usage:

mola preview --port [value] --host [value] --i18n
mola p --port [value] --host [value] --i18n

Options:

  • -p, --port [value]: Custom port
  • -h, --host [value]: Custom host
  • -i, --i18n: Enable i18n

setup

Setup the project.

Usage:

mola setup

storage

Storage related commands.

Usage:

mola storage <subCommand> [params...]
mola st <subCommand> [params...]

Parameters:

  • <subCommand>: A supported sub-command: setup
  • [params...]: List of sub-command parameters

sudo

Manage super admin account.

Usage:

mola sudo <subCommand> [email]
mola sadmin <subCommand> [email]
mola s <subCommand> [email]

Parameters:

  • <subCommand>: A supported sub-command: get, set, remove
  • [email]: A user email (set)

test

Unit test the app.

Usage:

mola test
mola t

help

Display help.

Usage:

mola help

*

Any other command is not suppoted.

Usage:

mola <cmd>

License

@molacms/cli is released under the MIT license.

Keywords

node

FAQs

Package last updated on 18 Oct 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts