Record a Session in PowerShell.
PowerShell version of asciinema based on Windows Pseudo Console(ConPTY)
Basic features record/play/auth/upload are working now.
- The output is comptible with asciinema v2 standard and can be played by
ascinnema
. - The
auth
andupload
functionalities are againsasciinema.org
.
> dotnet tool install --global PowerSession
Using Scoop
> scoop install PowerSession
Download PowerSession.exe
at Release Page https://github.com/ibigbug/PowerSession/releases
$ PowerSession.Cli.exe rec a.txt
$ PowerSession.Cli.exe play a.txt
$ PowerSession.Cli.exe auth
$ PowerSession.Cli.exe upload a.txt
$ PowerSession.exe rec -h
rec:
Record and save a session
Usage:
PowerSession rec [options] <file>
Arguments:
<file> The filename to save the record
Options:
-c, --command <command> The command to record, default to be powershell.exe
- Implement other necessary features
- Other optional parameters
- Publish to package installers
- Test Cases