Comments (6)
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.
(Whoops didn’t see your example 😅)
from jwt-cli.
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.
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.
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.
@mike-engel awesome! thanks a lot :)
from jwt-cli.
Related Issues (20)
- GoFish has been abandoned and documentation about it in the README should be removed HOT 2
- Feature Request: Support plaintext payload HOT 1
- Tests not in `main_test.rs' don't run HOT 1
- Unsecured JWT HOT 4
- `--secret` flag treats all values as file paths HOT 4
- Feature Request: encode allow none `typ` HOT 2
- linux binary for jwt 5.0.3 does not run on CentOS 7 HOT 8
- Add support for TTL when generating JWTs HOT 3
- Improve documentation for using elliptic curve keys HOT 1
- Allow the `typ` header field to have values other than `JWT` HOT 1
- encode always errors with "Invalid JSON provided!" on 6.0.0 HOT 2
- Bug: Error running on Fedora Linux in Docker on Apple ARM silicon HOT 1
- missing ES512 HOT 1
- Bump jsonwebtoken to v8.3.0 to v9.x.x HOT 1
- bug: not able to use in macOS for Apple Silicon chip HOT 6
- Brew formula does not work with linuxbrew HOT 1
- Shell completion
- App crash on `jwt encode` command with `@` in secret HOT 1
- Error: version `GLIBC_2.33' not found
- Add option to ignore alg type
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jwt-cli.