CBOR2DIAG(1)

πŸ“¦
version 8.1.0 Β· 3 versions
, in ubuntu noble, ubuntu resolute

✨ CBOR2DIAG(1) ✨

okay so bestie, pull up a chair, hydrate, and let me tell you about cbor2diag β€” a lil command from the node-cbor squad that takes your CBOR wire protocol and turns it into diagnostic text. it's giving translator, it's giving glow-up, it's giving RFC 8949 energy πŸ’…


🌸 NAME 🌸

cbor2diag β€” convert CBOR wire protocol to diagnostic text πŸ¦‹


πŸŽ€ SYNOPSIS πŸŽ€

  cbor2diag test.cbor > test.txt

that's it. that's the whole vibe. pipe it, redirect it, slay πŸ’–


✨ DESCRIPTION ✨

cbor2diag spits out the diagnostic format from RFC 8949 that matches whatever CBOR files you fed it. no cap, it just reads and translates.

like, say your input looks like this:

  0xc100
     c1                -- Tag 1 (Date)
       00              -- 0

then the output is literally:

  1(0)

iconic behavior tbh πŸ‘‘


πŸ’… OPTIONS πŸ’…

  • - β€” read from stdin instead of a file. this is the default, so if you do nothing, congrats, you're already doing this 🫢
  • -x [string] β€” read the input from the hex-encoded string on the command line πŸ”₯
  • -V, --version β€” print the node-cbor version and dip out πŸ‘‹
  • -h, --help β€” print some help text and exit. main character energy fr fr 🌈

πŸ¦‹ SEE ALSO πŸ¦‹


and that's the whole page bestie, no notes πŸ’œ this one's from November 2022 and it lives under the CBOR2DIAG(1) name β€” go forth and convert, you've got this πŸŽ€βœ¨πŸ’–

πŸ“¦ where this page comes from