Usage: literalize [OPTIONS]

  Convert data structures to native language literal syntax.

Options:
  --version                       Show the version and exit.
  -l, --language [ada|bash|c|clojure|cobol|commonlisp|cpp|crystal|csharp|d|dart|dhall|elixir|elm|erlang|forth|fortran|fsharp|gleam|go|groovy|haskell|hcl|java|javascript|json5|jsonnet|julia|kotlin|lua|matlab|mojo|nim|nix|norg|objectivec|ocaml|occam|odin|perl|php|powershell|purescript|python|r|racket|raku|roc|ruby|rust|scala|scheme|sml|swift|systemverilog|tcl|toml|typescript|v|visualbasic|wren|yaml|zig]
                                  Target language for output.  [required]
  -f, --input-format [json|json5|yaml|toml]
                                  Input data format.
  --pre-indent-level INTEGER      Number of indent levels to prefix each output
                                  line with.
  --indent TEXT                   Indentation string.
  --include-delimiters / --no-include-delimiters
                                  Include opening/closing delimiters.
  --variable-name TEXT            Variable name for the output assignment.
  --new-variable / --no-new-variable
                                  Declare a new variable.
  --modifier TEXT                 Declaration modifier (language-specific,
                                  repeatable). Choices: const, final, private,
                                  protected, public, readonly, static.
  --wrap-in-file / --no-wrap-in-file
                                  Wrap output as a complete, valid source file.
  --sequence-format TEXT          Sequence format (language-specific). Choices:
                                  array, cell_array, dynamic_array,
                                  initializer_list, list, seq, sequence, slice,
                                  table, tuple, vec, vector.
  --set-format TEXT               Set format (language-specific). Choices:
                                  array, btree_set, dict, frozenset, hash_set,
                                  map_set, set, sorted_set, tree_set.
  --date-format TEXT              Date format (language-specific). Choices: cpp,
                                  csharp, dart, elixir, erlang, fsharp, go,
                                  haskell, iso, java, js, julia, kotlin, lua,
                                  matlab, nim, objc, ocaml, perl, php, python,
                                  r, raku, ruby, rust, scala, sml, swift, toml,
                                  yaml, zig.
  --datetime-format TEXT          Datetime format (language-specific). Choices:
                                  cpp, csharp, dart, elixir, epoch, erlang,
                                  fsharp, go, haskell, instant, iso, js, julia,
                                  kotlin, lua, matlab, nim, objc, ocaml, perl,
                                  php, python, r, raku, ruby, rust, scala, sml,
                                  swift, toml, yaml, zig, zoned.
  --bytes-format TEXT             Bytes format (language-specific). Choices:
                                  base64, binary, hex, python.
  --comment-format TEXT           Comment format (language-specific). Choices:
                                  apostrophe, backslash, block, double_dash,
                                  double_slash, exclamation, hash, line, paren,
                                  paren_star, percent, semicolon, slash,
                                  star_angle.
  --variable-type-hints TEXT      Variable type hints (language-specific).
                                  Choices: always, auto.
  --declaration-style TEXT        Declaration style (language-specific).
                                  Choices: assign, auto, block, colon, const,
                                  declare, def, define, defparameter, dim,
                                  final, lazy_static, let, let_mut, let_mutable,
                                  local, mut, my, set, short, static, typed,
                                  val, var.
  --dict-entry-style TEXT         Dict entry style (language-specific). Choices:
                                  default, rocket, symbol.
  --dict-format TEXT              Dict format (language-specific). Choices:
                                  btree_map, containers_map, default, dict,
                                  dictionary, hash_map, list_map, map,
                                  map_of_entries, object, ordered,
                                  sorted_dictionary, struct, unordered_map.
  --float-format TEXT             Float format (language-specific). Choices:
                                  fixed, repr, scientific.
  --integer-format TEXT           Integer format (language-specific). Choices:
                                  binary, decimal, hex, octal, octal_c_style.
  --numeric-literal-suffix TEXT   Numeric literal suffix (language-specific).
                                  Choices: auto, none.
  --numeric-separator TEXT        Numeric separator (language-specific).
                                  Choices: none, underscore.
  --string-format TEXT            String format (language-specific). Choices:
                                  double, escaped, explicit, raw, single,
                                  verbatim.
  --trailing-comma TEXT           Trailing comma (language-specific). Choices:
                                  no, yes.
  --empty-dict-key TEXT           Empty dict key handling (language-specific).
                                  Choices: allow, error, positional.
  --line-ending TEXT              Line ending style (language-specific).
                                  Choices: newline, none, semicolon.
  --heterogeneous-strategy TEXT   Heterogeneous-collection strategy (language-
                                  specific). Choices: error, interface,
                                  object_variant, tagged_enum, union_type,
                                  variant.
  --default-dict-key-type TEXT    Default type for dict keys (language-specific,
                                  free-form string).
  --default-dict-value-type TEXT  Default type for dict values (language-
                                  specific, free-form string).
  --default-sequence-element-type TEXT
                                  Default type for sequence elements (language-
                                  specific, free-form string).
  --default-set-element-type TEXT
                                  Default type for set elements (language-
                                  specific, free-form string).
  --default-ordered-map-value-type TEXT
                                  Default type for ordered map values (language-
                                  specific, free-form string).
  --include-preamble / --no-include-preamble
                                  Include language preamble (e.g. package
                                  declarations, imports).
  --mode [literal|call]           Output mode: 'literal' for data literals,
                                  'call' for function calls.
  --call-function TEXT            Function name for call mode (e.g.
                                  'create_user').
  --call-params TEXT              Comma-separated parameter names for call mode.
  --per-element / --no-per-element
                                  In call mode, each top-level list element
                                  becomes a separate call.
  --ref-case [camel|kebab|pascal|snake|upper_snake]
                                  Identifier case for ``$ref`` markers in input
                                  data. When set, objects of the form ``{"$ref":
                                  "name"}`` are emitted as bare identifiers re-
                                  cased to the chosen convention instead of as
                                  nested dicts.
  --help                          Show this message and exit.
