@letanure/resend-cli
Version:
A command-line interface for Resend email API
46 lines • 1.3 kB
JavaScript
export const fields = [
{
name: 'broadcast-id',
label: 'Broadcast ID',
placeholder: '49a3999c-0ce1-4ea6-ab68-afcd6dc2e794',
helpText: 'The ID of the broadcast you want to send',
cliFlag: '--broadcast-id',
cliShortFlag: '-b',
},
{
name: 'scheduled-at',
label: 'Scheduled At',
placeholder: 'in 1 min',
helpText: 'Schedule email to be sent later (natural language or ISO 8601 format)',
cliFlag: '--scheduled-at',
cliShortFlag: '-s',
},
];
export const sendBroadcastFields = [
{
name: 'broadcastId',
label: 'Broadcast ID',
type: 'input-with-selector',
placeholder: '49a3999c-0ce1-4ea6-ab68-afcd6dc2e794',
helpText: 'Enter the broadcast ID to send',
},
{
name: 'scheduledAt',
label: 'Scheduled At',
type: 'text',
placeholder: 'in 1 min',
helpText: 'Schedule email to be sent later (natural language or ISO 8601 format) - optional',
},
];
// Display fields for the send result
export const displayFields = [
{
name: 'id',
label: 'ID',
placeholder: '',
helpText: '',
cliFlag: '--id',
cliShortFlag: '-i',
},
];
//# sourceMappingURL=fields.js.map