Logs the output of commands, so that it can be replayed later
Project description
Shell command logger (scl)
This program uses the linux script
and scriptreplay
commands to record and replay the output of any desired commands.
Documentation
This README just contains basic usage information.
For more please consult the documentation.
It is also provided in the docs
folder and can be locally viewed by following these steps:
- Install development dependencies (only required once):
python3 -m pip install -r requirements-dev.txt
- Building the documentation and starting a local webserver:
mkdocs serve
- Open localhost:8000
Installation
Install via pip
:
pip install shell-command-logger[full]
Usage
To record a command, you just prefix it with scl log
:
scl log ls -1 /
You can use scl replay
to interactively choose and replay a file.
With scl search
you can search logged commands.
For more information see the documentation or run scl --help
.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
shell-command-logger-0.4.0.tar.gz
(19.2 kB
view hashes)
Built Distribution
Close
Hashes for shell-command-logger-0.4.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 484fd900a0e8f4637ea7a6137a012a1007eaf4d6214d2035f468a0931e8f9f22 |
|
MD5 | cd30a00c1c1f377ea4cdf48b479abd87 |
|
BLAKE2b-256 | 9bd69f35833609c6afd79b94ce6960531ed3ea5eb7986c93ef5d31179e6b8260 |
Close
Hashes for shell_command_logger-0.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc6af1f290db00dd1bdd9027a877c342517c9ba96f6ad70f025590aa6ccb67a7 |
|
MD5 | e26323f9cea116c866dacb693c0b21b8 |
|
BLAKE2b-256 | fc4e4344e51b761ab3d82e891f14df1cba1f9a5f77da36b80033c92a218991b6 |