Socket
Socket
Sign inDemoInstall

syncat

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

syncat

Command line interface similar to ``cat`` with syntax highlighting


Maintainers
1

syncat

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

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc