tanakh / cless Goto Github PK
View Code? Open in Web Editor NEWPrint file contents with syntax highlighting
License: MIT License
Print file contents with syntax highlighting
License: MIT License
Hello. First, awesome program!
I saw it by accident while running "brew update".
Anyway. It is working great when i'm using it as expected.
But when i just manage to fail to do it properly (ie just run "cless")
it stucks in full screen, which i could eventually leave by CTRL-C and then Q.
My less (i guess bsd less, on osx) instead prints:
Missing filename ("less --help" for help)
Also, pipe to cless dont give me colors :-(
cat gulpfile.js | cless => non colored
To get cless building under GHC 8.0.1 for Homebrew (we only typically support the latest GHC), I've needed to add a "cabal.config" file at the root of the package containing "allow-newer: base,transformers", at which point everything builds as expected. With only #2 but not also the transformers bump, I get the following:
trying: cless-0.3.0.0 (user goal)
trying: transformers-0.5.2.0/installed-0.5... (dependency of
optparse-applicative-0.12.1.0)
trying: nats-1.1 (dependency of wl-pprint-extras-3.5.0.5)
next goal: wl-pprint-terminfo (dependency of cless-0.3.0.0)
rejecting: wl-pprint-terminfo-3.7.1.3 (conflict:
transformers==0.5.2.0/installed-0.5..., wl-pprint-terminfo =>
transformers>=0.2 && <0.5)
rejecting: wl-pprint-terminfo-3.7.1.2, wl-pprint-terminfo-3.7.1.1,
wl-pprint-terminfo-3.7.1, wl-pprint-terminfo-3.7 (conflict: nats==1.1,
wl-pprint-terminfo => nats>=0.1 && <1)
rejecting: wl-pprint-terminfo-3.6, wl-pprint-terminfo-3.5,
wl-pprint-terminfo-3.4, wl-pprint-terminfo-3.3.1, wl-pprint-terminfo-3.3,
wl-pprint-terminfo-3.0.1, wl-pprint-terminfo-3.0, wl-pprint-terminfo-0.8.4,
wl-pprint-terminfo-0.8.3.2, wl-pprint-terminfo-0.8.3.1,
wl-pprint-terminfo-0.8.3, wl-pprint-terminfo-0.8.2, wl-pprint-terminfo-0.8.1,
wl-pprint-terminfo-0.8, wl-pprint-terminfo-0.7.0, wl-pprint-terminfo-0.6,
wl-pprint-terminfo-0.5.2, wl-pprint-terminfo-0.5.1, wl-pprint-terminfo-0.5,
wl-pprint-terminfo-0.4, wl-pprint-terminfo-0.3.0.1, wl-pprint-terminfo-0.3,
wl-pprint-terminfo-0.2.3, wl-pprint-terminfo-0.2.2,
wl-pprint-terminfo-0.2.1.3, wl-pprint-terminfo-0.2.1.2,
wl-pprint-terminfo-0.2.1.1, wl-pprint-terminfo-0.2.1,
wl-pprint-terminfo-0.2.0, wl-pprint-terminfo-0.1.1, wl-pprint-terminfo-0.1
(conflict: cless => wl-pprint-terminfo>=3.7)
Dependency tree exhaustively searched.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.