Code Monkey home page Code Monkey logo

Comments (6)

mike-engel avatar mike-engel commented on August 22, 2024

Glad to hear you’re liking it! So I assume you’re trying to pipe the output or spawn a child process and intercept STDOUT? If so, I can go ahead and remove that or hide it behind a flag. I’ll have to check how rust sends exit codes though to emit a 0 on success. Thanks!

from jwt-cli.

mike-engel avatar mike-engel commented on August 22, 2024

(Whoops didn’t see your example 😅)

from jwt-cli.

docteurklein avatar docteurklein commented on August 22, 2024

thanks for the quick answer! I added the example afterwards, so that may be it :)

I tried to have a look at https://stackoverflow.com/a/30285110/244058 and https://doc.rust-lang.org/std/process/fn.exit.html and wanted to try a PR but I never edited rust code, so yeah.

from jwt-cli.

mike-engel avatar mike-engel commented on August 22, 2024

No worries! If you’d like to attempt a PR, let me know and I’d be happy to review the PR. Otherwise, I’ll try and take care of it this week.

from jwt-cli.

mike-engel avatar mike-engel commented on August 22, 2024

I'm stuck on a plane, so I went ahead and took care of this. 1.2.0 should resolve this with simplified output for encode, and explicit exit codes! Travis is a bit backed up on macOS builds right now if you need that, but linux and windows builds are up 😄

from jwt-cli.

docteurklein avatar docteurklein commented on August 22, 2024

@mike-engel awesome! thanks a lot :)

from jwt-cli.

Related Issues (20)

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.