Skip to content

A small CLI for adding some color to your HLS manifests along with some basic filtering

License

Notifications You must be signed in to change notification settings

soldiermoth/hlsq

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HLSQ

A small CLI for adding some color to your HLS manifests and some basic filtering. This CLI is not strict in its parsing so it will still work for manifests preceeded by a grep. Named in tribute to the the great venerable jq cli.

Release GitHub Workflow Status Go Report Card Software License Powered By: GoReleaser
Mentioned in Awesome

Basic Example

Filtering

There are some basic filtering operations available in this CLI in the form of a single {attribute name} {op} {value}, this will be expanded in the future to accept more complex queries.

Filtering Example

Currently supported operations by value type

  • Numbers: >, >=, <, <=, =, !=
  • String: =, !=, ~, !~, & rlike

Install Instructions

Pre-built Binary

Visit the latest releases and pull a pre-built binary

Homebrew

$ brew install soldiermoth/tap/hlsq

From Source

Assuming a recent installation of Go is installed: https://golang.org/doc/install

$ go get github.com/soldiermoth/hlsq

Demuxed Special Colors

As tribute to Demuxed2020 added colors matching the SWAG tshirts: -demuxed

Demuxed Flag

About

A small CLI for adding some color to your HLS manifests along with some basic filtering

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages