sdlfmt 0.1.1

Auto-formatter for SDLang files, based on sdlite


To use this package, run the following command in your project's root directory:

Manual usage
Put the following dependency into your project's dependences section:

sdlfmt

Auto-formatter for SDLang files
Usage:
        sdlfmt [OPTIONS...] [--] FILENAMES...

 General options:
-i --inplace Edit files in place
-h    --help This help information.

Formatter options:
                  --end_of_line (lf|cr|crlf)
-t               --indent_style (tab|space)
                  --indent_size (default = 1 for tab, 4 for space)
     --whitespace_around_equals (default = false)
   --backslash_temp_indent_size (default = 2)

Use - as only file name if you want to read from stdin

By default, only a single file can be passed in as input and the formatted
output will be dumped to stdout. Use --inplace to be able to specify multiple
input files.
Authors:
  • webfreak
Dependencies:
sdlite
Versions:
0.1.1 2023-May-10
0.1.0 2023-May-10
~master 2023-May-10
Show all 3 versions
Download Stats:
  • 6 downloads today

  • 46 downloads this week

  • 239 downloads this month

  • 3677 downloads total

Score:
2.3
Short URL:
sdlfmt.dub.pm