https://github.com/hymkor/script
script.exe - make typescript of terminal session like that of Linux for Windows10 or later
https://github.com/hymkor/script
cmd script windows
Last synced: 4 months ago
JSON representation
script.exe - make typescript of terminal session like that of Linux for Windows10 or later
- Host: GitHub
- URL: https://github.com/hymkor/script
- Owner: hymkor
- License: mit
- Created: 2024-11-10T08:49:20.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-11-12T11:49:14.000Z (about 1 year ago)
- Last Synced: 2025-04-05T19:22:22.336Z (10 months ago)
- Topics: cmd, script, windows
- Language: Go
- Homepage:
- Size: 73.2 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
script.exe
==========
- Make typescript of terminal session like [that of Linux](https://www.man7.org/linux/man-pages/man1/script.1.html) on Windows10 or later
- Implemented with [aymanbagabas/go-pty](https://github.com/aymanbagabas/go-pty)

Install
-------
Download the binary package from [Releases](https://github.com/hymkor/script/releases) and extract the executable.
### go install
```
go install github.com/hymkor/script
```
### scoop-installer
```
scoop install https://raw.githubusercontent.com/hymkor/script/master/script.json
```
or
```
scoop bucket add hymkor https://github.com/hymkor/scoop-bucket
scoop install script
```
Usage
-----
```
script [options] [file]
```
- `-a` Append the output to specified file or **"typescript"**
- `-c command` Run the command rather than cmd.exe