SitecorePowerShell/Console

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

AdamNaj opened this issue · 0 comments

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"