emailr-cli 1.3.0 → 1.3.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
|
@@ -920,7 +920,14 @@ Open the Preview URL in your browser to view the rendered template.`);
|
|
|
920
920
|
output(template, "json");
|
|
921
921
|
} else {
|
|
922
922
|
success(`Template updated: ${template.id}`);
|
|
923
|
-
|
|
923
|
+
const tableData = {
|
|
924
|
+
ID: template.id,
|
|
925
|
+
Name: template.name,
|
|
926
|
+
Subject: template.subject,
|
|
927
|
+
Variables: template.variables?.join(", ") || "-",
|
|
928
|
+
Updated: template.updated_at
|
|
929
|
+
};
|
|
930
|
+
output(tableData, "table");
|
|
924
931
|
}
|
|
925
932
|
} catch (err) {
|
|
926
933
|
error(err instanceof Error ? err.message : "Failed to update template");
|