3.0.1 ā€¢ Published 6 months ago

@jsx-email/cli v3.0.1

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

npm Join our Discord libera manifesto

@jsx-email/cli

Requirements

This package requires an LTS Node version (v18.0.0+) and React v18.2.0+.

Install

pnpm add @jsx-email/cli -D

# We recommend pnpm - https://pnpm.io
# But npm and yarn are supported
# npm add @jsx-email/cli -D
# yarn add @jsx-email/cli -D

Nearly all installations of this package will want it installed into devDependencies so please make sure to add the -D flag.

Usage

Installing this package will add an email binary, which will be available to pnpm exec, npx, and yarn.

Invoking the CLI without parameters or flags will produce help information in the console. From there, all of the functions of the CLI can be viewed, along with any applicable parameters and flags:

ā†’ pnpm exec email

@jsx-email/cli v0.0.0

A CLI for working with Email Templates made with jsx-email

Usage
  $ email [...options]

Commands
  build       <template path>
  help        [<command>]
  preview     <template dir path>

Options
  --help      Displays this message
  --version   Displays webpack-nano and webpack versions

Examples
  $ email
  $ email --help
  $ email build ./src/templates/Invite.tsx
  $ email create invite
  $ email preview ./src/templates

For more documentation and information using the CLI, please review our Documentation

Attribution šŸ§”

This package was built upon prior work for react-email by Bu Kinoshita (@bukinoshita) and Zeno Rocha (@zenorocha).

License

MIT License