@klevar/portal-cli 0.1.19 → 0.1.20
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.
|
@@ -320,7 +320,6 @@ const HELP_ENUMS = {
|
|
|
320
320
|
cadence: 'weekly|biweekly|monthly|quarterly|custom_days',
|
|
321
321
|
cadenceType: 'weekly|biweekly|monthly|quarterly|custom_days',
|
|
322
322
|
outputType: 'task|project_update_draft|project_update|email_reminder',
|
|
323
|
-
notificationMode: 'silent|admin_only|client_on_acceptance|client_each_occurrence|client_digest_only',
|
|
324
323
|
owner: 'admin|client|shared',
|
|
325
324
|
requiresClientAcceptance: 'true|false',
|
|
326
325
|
requiresAdminAcceptance: 'true|false',
|
|
@@ -339,6 +338,10 @@ function helpFlag(commandKey, field) {
|
|
|
339
338
|
else if (commandKey.startsWith('capacity.')) hint = 'active|paused|ended';
|
|
340
339
|
else if (commandKey.startsWith('tasks.')) hint = 'open|in_progress|done|blocked';
|
|
341
340
|
}
|
|
341
|
+
if (field === 'notificationMode') {
|
|
342
|
+
if (commandKey.startsWith('recurring.')) hint = 'silent|admin_only|client_on_acceptance|client_each_occurrence|client_digest_only';
|
|
343
|
+
else if (commandKey.startsWith('tasks.')) hint = 'silent|ack_only|material_updates|all';
|
|
344
|
+
}
|
|
342
345
|
return hint ? `--${field} ${hint}` : `--${field}`;
|
|
343
346
|
}
|
|
344
347
|
|