Comments (3)
Sorry for the late reply @hingehe. Can you tell me a bit more about your programming tool? Is it a TTY or not? Anything else I could look for to strip color and formatting?
from jwt-cli.
I am working with a EAI Tool called "inubit".
I execute your script with a "CLI Execution module" on a linux system (so I think it is a TTY-Tool in your sense). The result (refer my previous post) has weird characters. My tool tries to wrap everything into an XML structure. This fails, whit these color coding characters, because of charset foo.
I fixed the problem with replace (regular expressions) in my CLI script, so I remove those characters. But this is of course not the best option. An optional parameter to suppress any color codings would be perfect for my needs.
from jwt-cli.
Hi again @hingehe, sorry for the delayed response. The output crate I use is bunt
, which uses termcolor
itself. bunt
will automatically print to stdout with the auto
color mode. In that mode, output on windows won't be colored, but also if the environment variable NO_COLOR
is defined, then it won't output colors.
That being said, can you try defining NO_COLOR
in your environment and see if that works for you? If it does, I'll find a place to document it 😄
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 2
- bug: not able to use in macOS for Apple Silicon chip HOT 7
- Brew formula does not work with linuxbrew HOT 2
- Shell completion
- App crash on `jwt encode` command with `@` in secret HOT 1
- Error: version `GLIBC_2.33' not found HOT 1
- Add option to ignore alg type HOT 2
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.