0.4.0 • Published 10 months ago

create-veeva-rte v0.4.0

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

Create Veeva Rep-triggered Email (RTE)

NPM Version NPM Downloads Issues

CLI tool to quickly setup Veeva RTEs boilerplate files (email template and fragments) in your current directory.

Quick Start

NPX

Using npx, run the following command below to create an RTE project in current directory:

npx create-veeva-rte

Global

Or install this package globally using:

npm install create-veeva-rte -g

Then run the following command in your terminal to verify:

create-veeva-rte

Commands

Project

Usage: npx create-veeva-rte project

Description: Creates a new directory containing multiple email templates and fragments.

Example:

npx create-veeva-rte project
RTE project directory name: example-rte-directory-name

Number of email templates: 1
Email template 1 name: template 1

Number of email fragments: 2
Email fragment 1 name: fragment 1
Email fragment 2 name: fragment 2

Output:

.
`-- example-rte-directory-name/
    |-- email fragments/
    |   |-- fragment 1/
    |   |   `-- index.html
    |   `-- fragment 2/
    |       `-- index.html
    `-- email templates/
        `-- template 1/
            `-- index.html

Email Template

Usage: npx create-veeva-rte email-template {{directory name}}

Description: Creates 1 new email template in the current working directory.

Example:

npx create-veeva-rte email-template MOA

Output:

.
`-- current-working-directory/
    `-- MOA/
        `-- index.html

Email Fragment

Usage: npx create-veeva-rte email-fragment {{directory name}}

Description: Creates 1 new email fragment in the current working directory.

Example:

npx create-veeva-rte email-fragment summary

Output:

.
`-- current-working-directory/
    `-- summary/
        `-- index.html

Additional Resources

Author

Jayvin Duong

0.4.0

10 months ago

0.3.0

11 months ago

0.2.1

11 months ago

0.2.0

11 months ago

0.1.0

11 months ago