Git Product home page Git Product logo

Comments (2)

sumpygump avatar sumpygump commented on September 22, 2024 1

I added the --mimetype functionality in #6

Regarding the "auto-detect" whether there is some content in stdin (and not require using - when invoking the script), I am not sure if there is a reliable way to know whether there is or will be some content coming from stdin. Currently if you invoke the script with no arguments it produces the help message, so without that, it would just sit there any wait for input (may be confusing for users). So, I think it is better to explicitly use - to indicate use stdin for the content.

from 0x0.

mathieu-aubin avatar mathieu-aubin commented on September 22, 2024

and i meant, by stdin, that a user doesnt need to specify - on the command line... essentially, the check should be donne here otherwise... what fun is it really :)

from 0x0.

Related Issues (4)

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.