mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-26 00:58:00 -05:00
17 lines
No EOL
361 B
PowerShell
Executable file
17 lines
No EOL
361 B
PowerShell
Executable file
$xml_file = [xml](get-content $args[0])
|
|
if($args.count -eq 2)
|
|
{
|
|
$xml_file.variables.($args[1])
|
|
}
|
|
elseif($args.count -eq 3)
|
|
{
|
|
$xml_file.variables.($args[1]).($args[2])
|
|
}
|
|
elseif($args.count -eq 4)
|
|
{
|
|
$xml_file.variables.($args[1]).($args[2]).($args[3])
|
|
}
|
|
elseif($args.count -eq 5)
|
|
{
|
|
$xml_file.variables.($args[1]).($args[2]).($args[3]).($args[4])
|
|
} |