Cmdlet
Import-ConsoleCodeFrame
Recovers the embedded source from a ConsoleMonster SVG code frame.
Syntax
Import-ConsoleCodeFrame
[-Path] <String>
[<CommonParameters>]#Parameter set:
All Parameter SetsDescription
Returns the original Source, Language, FirstLine and LastLine. The SVG is read as data and the recovered source is never executed.
Examples
Example 1
(Import-ConsoleCodeFrame -Path ./function.svg).SourceRecover the source of a code frame
Parameters
- -Path String
- The literal path to an SVG containing ConsoleMonster source metadata.
Common Parameters
This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
For more information, see about_CommonParameters.