A utility for making log files (particularly Terraform logs) more readable and comparable
Project description
readable - utility for cleaning log files
usage: readable [-h] [--light] [--dark] [--none] [--tidy] [--strip-blank] [--debug] [--out] [--dir DIR] [--aws] [--terraform] [--replace REPLACE] [--verbose]
[--minimal] [--non-minimal]
[files ...]
Read from standard input and write to standard output modifying ANSI colour codes en-route.
positional arguments:
files The files to convert (use stdin/stout if no input files are specified)
options:
-h, --help show this help message and exit
--light, -l Modify colours for a light background (the default)
--dark, -d Modify colours for a dark background
--none, -n Remove all colour codes
--tidy, -t Remove colour codes and stuff that typically occurs in log files causing diffs, but is of no particular interest (e.g. SHA1 values,
times, dates)
--strip-blank, -s Strip all blank lines
--debug, -D Replace colours with debug information
--out, -o Output to standard output rather than overwriting input files
--dir, -O DIR Store output files in the specified directory (creating it if it doesn't exist)
--aws, -a Remove AWS resource IDs
--terraform, -T Clean Terraform plan/apply log files
--replace, -R REPLACE
Additional regex replacements in the form "REGEX=REPLACEMENT"
--verbose, -v Output verbose status
--minimal, -m Remove unnecessary data from the file (e.g. Terraform progress updates (Refreshing..., Reading..., etc.))
--non-minimal, -M Do not remove unnecessary data from the file (e.g. Terraform progress updates (Refreshing..., Reading..., etc.))
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
skilleter_readable-0.0.5.tar.gz
(18.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file skilleter_readable-0.0.5.tar.gz.
File metadata
- Download URL: skilleter_readable-0.0.5.tar.gz
- Upload date:
- Size: 18.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
daccaf23796438282ef55ba52ad26ccf7eb1034c498a0582abe3655232919e54
|
|
| MD5 |
69fcd1c7ff6b828b2834a3018a49d6b7
|
|
| BLAKE2b-256 |
0a592548f29a457aeafd177834c8856d5132be71908431fe83ea19a4426394b5
|
File details
Details for the file skilleter_readable-0.0.5-py3-none-any.whl.
File metadata
- Download URL: skilleter_readable-0.0.5-py3-none-any.whl
- Upload date:
- Size: 19.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
255b71a081c34b1a1a302a7fac637ebeab1ee23c71f883859ee835f4d7fceaac
|
|
| MD5 |
98438b6fa1a3a9af9445b6ed8f016fba
|
|
| BLAKE2b-256 |
bb4ec29fc008726445b7fbcd9e3e5d127b81dd463c843aa2c869222e935005b2
|