Skip to content

Commit

Permalink
Update oafp-examples.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
nmaguiar authored Feb 1, 2025
1 parent 7943dff commit 511ddd1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions oafp-examples.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1115,3 +1115,8 @@ data:
d: Given an input file, in a specific language (e.g. yaml, json, bash, etc...), output an HTML representation with syntax highlighting.
e: |-
OUT=yaml && FILE=data.yaml && oafp file=$FILE in=raw outkey=data out=json | oafp out=template templatetmpl=true template="\`\`\`$OUT\n{{{data}}}\n\`\`\`" | oafp in=md out=html
- c: Generic
s: JWT
d: Given an input JWT (JSON Web Token) converts it to a human readable format.
e: |-
echo "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c" | oafp in=jwt

0 comments on commit 511ddd1

Please sign in to comment.