-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Is your feature request related to a problem? Please describe.
It would be neat if I could add different settings per demo command in the same demo, such as instant timing for long lines that would normally be copy pasted or similarly, while doing the rest of the commands with manual steps.
Describe the solution you'd like
Maybe the -Demo
parameter could take an array of objects that are either strings or hashtables (or similar), where the hashtables can be the command but with settings that will override the current demo settings.
Example
Set-Demo -Timing Manual -Demo @(
'Import-Module ''Microsoft.Graph.Authentication'' -MaximumVersion 1.28.0'
'Connect-Graph'
@{
Command = '[System.Runtime.Loader.AssemblyLoadContext]::All.Assemblies | Where-Object FullName -like ''System.IdentityModel.Tokens.Jwt*'' | Select-Object *'
Timing = 'Instant'
}
)
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request