SitecorePowerShell / Console

Sitecore PowerShell Extensions
https://doc.sitecorepowershell.com/
Other
114 stars 71 forks source link

Make "webedit:script" and "item:executescript" accept parameter aliases so it's less problematic to call them #1333

Closed AdamNaj closed 4 months ago

AdamNaj commented 4 months ago

Expected Behavior

When invoking webedit:script and item:executescript shell commands it's hard to remember which parameter is called which e.g. version is sometimes specified as 'vs', 'ver', 'version' or 'itemVer' - why not support all such variations?

supposed aliases:

ItemId =  "id", "itemId"
ItemDb = "db", "itemDb"
ItemLang = "lang", "itemLang", "la", "language"
ItemVer = "vs", "ver", "itemVer", "version"
ScriptId = "scriptId", "script"
ScriptDb ="scriptDb"