Code Monkey home page Code Monkey logo

jtab's People

Contributors

jreleaserbot avatar wlezzar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

jtab's Issues

Markdown format is not valid

Just tried to generate a markdown table but it doesn't work. In fact, this format :

1 | 2
------
3 | 4
5 | 6

is not a valid markdown table. The format must be like this :

| 1 | 2 | 
|---|---|
| 3 | 4 |
| 5 | 6 |

avoid columns being sorted ??

I guess that something is sorting columns alphabetically, but i don't want that, is there anyway to avoid this?
the input is:
[
{
"hostname": "xxxxx",
"id": 191,
"parent": yyy,
"user": "zzz",
"pass": "fff",
"utype": "admin",
"extra": "ggg",
"stamp": "2022-03-03 19:10:17"
}
]
output:

extra                    │ hostname │ id  │ parent │ pass                             │ stamp               │ user       │ utype

since now, thank you for your time.

Option to force colour output when used in pipe

The following command:

echo "{\"hello\": 24, \"world\": 42}" | jtab | less -r

strips the colour output, it would be nice to have some option to force colour output, like:

echo "{\"hello\": 24, \"world\": 42}" | jq -C | less -r

Segmentation fault: 11

If i run rustup toolchain list it outputs `stable-2023-03-28-x86_64-apple-darwin. i'm using macOS 10.15.6

I tried installing with cargo install --git https://github.com/wlezzar/jtab

But when I run it with an example like echo "{\"hello\": 24, \"world\": 42}" | jtab it outputs Segmentation fault: 11

i tried it in a docker container running Debian on the same machine but it gave the same error Segmentation fault

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.