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.0.tar.gz
(4.6 kB
view details)
Built Distributions
File details
Details for the file syncat-1.0.0.tar.gz
.
File metadata
- Download URL: syncat-1.0.0.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 98dbf05ad4ea3b79234cac5ed5741ae8a54526b3f321e72ccd7717ca8ba1d3f1 |
|
MD5 | b2770e35ef95170ac995698df521f2cb |
|
BLAKE2b-256 | 6fdc094934807fac6fa1af50009c2f4389327168ae0cf86dc6f51f0d3e97c64b |
File details
Details for the file syncat-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: syncat-1.0.0-py3-none-any.whl
- Upload date:
- Size: 6.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b17af1044c7365ea9857710f692aadb959b35dd24483be4c3771ae9a929803cb |
|
MD5 | 35c60f7ccc744da174fb136449c15a6b |
|
BLAKE2b-256 | 49811e2ae28db5f0b2a28117b6789494430a6b556879330a81a8cf8ce5d8d1c3 |
File details
Details for the file syncat-1.0.0-py2-none-any.whl
.
File metadata
- Download URL: syncat-1.0.0-py2-none-any.whl
- Upload date:
- Size: 6.8 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0db75396ccf99aaaea49681c66e19c5d87c38a5b75bd4d117031f40c36459bd |
|
MD5 | 734717777c615dfa54ec4930300a9319 |
|
BLAKE2b-256 | ca10f498fcf43ed8ef9f285ecd1c6806850cf037bba8ed579c4be7d4db8b1d3d |