Socket
Book a DemoInstallSign in
Socket

@muil/cli

Package Overview
Dependencies
Maintainers
3
Versions
128
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@muil/cli

Visit [Muil Docs.](https://docs.muil.io)

4.1.1
latest
Source
npmnpm
Version published
Maintainers
3
Created
Source

Visit Muil Docs.

Run Muil CLI

To start muil cli run:

yarn muil-cli [options]

or

npm run muil-cli -- [options]

To use options with npm run npm run muil -- <args>. See here

Initialization

Before you can publish templates you should add .npmrc file to your root folder:

{
  "host": "YOUR_HOST_ADDRESS",
  "apiKey": "YOUR_API_KEY"
}

host - is optional - if you are using our SaaS option you can remove it. if you are using the on-premise solution you should change it to the address of the server.

apiKey - is required - go to the portal and create a new api key and paste it here.

Publish

This command builds all templates and uploads to muil

Usage: muil-cli publish [options]

Publish email templates

Options:
  -d --templatesDirectory <templatesDirectory>  Templates root directory (default: "./templates")
  -b --branch <branch>                          templates branch (default: "master")
  -h, --help                                    output usage information

This action will clear all templates in this branch and upload the new templates!

Unpublish

This command cleans the branch from all templates

Usage: muil-cli unpublish [options]

Unpublish email templates

Options:
  -b --branch <branch>  templates branch, default: master
  -h, --help            output usage information

This action will clear all templates in this branch!

FAQs

Package last updated on 21 May 2025

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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.