Skip to content

v0.3.2

Compare
Choose a tag to compare
@github-actions github-actions released this 24 May 15:22
· 11 commits to main since this release
v0.3.2
e144c97
  • Use ${NAME?}q/$(NAME?)s syntax to define nullable placeholder.
  • As opposed to optional placeholders that defaults to blank, nullable
    placeholders will default to null.
  • Useful for defining nullable string or array items.

Example:

jf "[str or bool, %(str)?q %(bool)?s, nullable, %(nullable?)q]" str=true
# ["str or bool","true","nullable",null]