emailr-cli 1.4.0 → 1.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +8 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -766,7 +766,14 @@ async function handleTemplatePreview(template) {
|
|
|
766
766
|
}
|
|
767
767
|
}
|
|
768
768
|
function createTemplatesCommand() {
|
|
769
|
-
const cmd = new Command3("templates").description(
|
|
769
|
+
const cmd = new Command3("templates").description(`Manage email templates
|
|
770
|
+
|
|
771
|
+
AGENTIC LIVE EDITING:
|
|
772
|
+
draft Create new template with live preview
|
|
773
|
+
edit <id> Edit existing template with live preview
|
|
774
|
+
|
|
775
|
+
Both commands save HTML to a local file and start a hot-reload server.
|
|
776
|
+
Edit the file and see changes instantly in the browser.`);
|
|
770
777
|
cmd.command("list").description("List all templates").option("--limit <number>", "Number of templates to return", "20").option("--page <number>", "Page number", "1").option("--format <format>", "Output format (json|table)", "table").action(async (options) => {
|
|
771
778
|
try {
|
|
772
779
|
const config = loadConfig();
|