-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
item: documentationInvolves the development/maintenance/cleanup/automation of project documentation.Involves the development/maintenance/cleanup/automation of project documentation.item: functionInvolves the development/maintenance of individual functions/methods.Involves the development/maintenance of individual functions/methods.item: templateInvolves the development/maintenance of templates.Involves the development/maintenance of templates.item: unit testInvolves the development/maintenance of unit tests.Involves the development/maintenance of unit tests.priority: mediumIndicates the issue is of moderate importance, and will be scheduled for remediation.Indicates the issue is of moderate importance, and will be scheduled for remediation.size: smallRequires a minimal work effort (a few hours).Requires a minimal work effort (a few hours).type: feature requestA proposed feature, integration, or other major functionality.A proposed feature, integration, or other major functionality.
Description
Describe the solution
- Add parameter set - WithParams (default, using Verb/Noun params)
- Add parameter - Noun
- Add parameter - Verb(s)
- Add parameter set - WithData (using only Data param)
- Add parameter - Data (describes the resources and related verbs for each, alternative to Noun + Verb)
Example
$Verbs = @("Get", "Find", "New", "Update", "Remove", "Copy", "Rename", "Import", "Export", "Edit", "Open", "Complete", "Close", "Group", "Merge", "Test", "Suspend", "Resume", "Approve", "Deny", "Submit", "Show")
$ResourceName = "Worklog"
foreach ($Verb in ($Verbs | sort -Unique)) {
gh issue create --repo devynspencer/powershell-sdp-cloud --assignee `@me --project 'PowerShell Modules' --label 'function,tests,documentation' --title "Add function $Verb-ServiceDesk$ResourceName" --body "PowerShell function to $($Verb.ToLower()) a specific $($ResourceName.ToLower()) resource."
Start-Sleep -Seconds 5
}Data
[
{
"Noun": "Worklog",
"Verbs": [
"Get", Find", "New", "Update", "Remove", "Copy", "Rename", "Import", "Export", "Edit", "Open", "Complete", "Close", "Group", "Merge", "Test", "Suspend", Resume", "Approve", "Deny", "Submit", "Show"
]
},
{
"Noun": "Reminder",
"Verbs": [ Get", "Add", "New", "Find", "Update", "Remove", "Suspend", "Resume", "Test", "Send", "Reset" ]
}
]Related issues
No response
Example usage
No response
Alternative solutions
No response
Additional context
No response
Code of Conduct
- I agree to follow this project's Code of Conduct
Metadata
Metadata
Assignees
Labels
item: documentationInvolves the development/maintenance/cleanup/automation of project documentation.Involves the development/maintenance/cleanup/automation of project documentation.item: functionInvolves the development/maintenance of individual functions/methods.Involves the development/maintenance of individual functions/methods.item: templateInvolves the development/maintenance of templates.Involves the development/maintenance of templates.item: unit testInvolves the development/maintenance of unit tests.Involves the development/maintenance of unit tests.priority: mediumIndicates the issue is of moderate importance, and will be scheduled for remediation.Indicates the issue is of moderate importance, and will be scheduled for remediation.size: smallRequires a minimal work effort (a few hours).Requires a minimal work effort (a few hours).type: feature requestA proposed feature, integration, or other major functionality.A proposed feature, integration, or other major functionality.