Command line interface similar to ``cat`` with syntax highlighting
Project description
Command line interface similar to cat with syntax highlighting
Example
curl -s http://httpbin.org/get | syncat --json
Lexers
Due to the large number of lexers, the list of lexers is hidden in the default -h/--help output. Use syncat --lexer-help to list all lexers
Usage
usage: syncat [-h] [--style STYLE] [--lexer-help] [--lexer LEXER] [file] positional arguments: file File to print with syntax highlighting. Defaults to stdin optional arguments: -h, --help show this help message and exit --style STYLE Syntax highlighting style. Choices: abap algol algol_nu arduino autumn borland bw colorful default emacs friendly fruity igor lovelace manni monokai murphy native paraiso-dark paraiso-light pastie perldoc rainbow_dash rrt solarized256 tango trac vim vs xcode --lexer-help List help and options for the --lexer argument --lexer LEXER Lexer to use for syntax highlighting. Defaults to guessing based on the file contents. Use --lexer-help for a list of all lexers. Can be used in the form of --lexer LEXER or as --LEXER such as --lexer json or --json
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
syncat-1.0.2.tar.gz
(4.8 kB
view details)
Built Distribution
File details
Details for the file syncat-1.0.2.tar.gz
.
File metadata
- Download URL: syncat-1.0.2.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e079aee456757849f72345c14ffec488d9c3789e92b659ab1cd8e0b6cea4fa97 |
|
MD5 | da4275b5eec04c53406fde8b74237903 |
|
BLAKE2b-256 | 00f604af6fb8c53dac34ce2b8233c072cbc10175a37bc1db5bb492e33623dfd3 |
File details
Details for the file syncat-1.0.2-py3-none-any.whl
.
File metadata
- Download URL: syncat-1.0.2-py3-none-any.whl
- Upload date:
- Size: 9.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4260efb560ca59563b33b22f4ddedba715cba12aa52cbae193fd5f761c20a83d |
|
MD5 | 93e34ba4ff74b49ae997b6a2b13f70cc |
|
BLAKE2b-256 | a92daca08c973fd093d44afad63c9c40baab5c230f439b060de5dc9e80b77b32 |