Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@muil/cli

Package Overview
Dependencies
Maintainers
3
Versions
127
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)

  • 1.0.17
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
283
increased by40.1%
Maintainers
3
Weekly downloads
 
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 01 Feb 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc