Giter Club home page Giter Club logo

trenchman's Issues

Distinguishing between `:out` and `:err`

Thank you for creating this project, I'm making great progress using it to plumb together some tools that wouldn't normally be able to easily talk to each other.

Unfortunately, I'm having a hard time programmatically distinguishing between normal println output and an exception or error. The only real indication that trenchman provides (as far as I can tell) is the color of the text.

Is it possible to either provide a flag that asks trenchman to output a piece of data with both stdout and stderr (e.g. trench --data -e '('{:out nil, :err "clojure.lang.ExceptionInfo: EOF while reading"}) and/or indicate the type of output via the exit code (e.g. trench -e '('; echo $?… 2).

Regardless, I really appreciate this tool and I'm sure I'll find a way to work around this if improving it is out-of-scope.

Thank you!

Built-in readline support

Currently, Trenchman does not have built-in support for readline-like features, like line editing or history search.
The installation instruction suggests using the tool with rlwrap, but for more usability, it would be nice to have built-in support for readline.

Joker seems to use candid82/liner for readline, so it's worth giving it a try.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.