toml-sort

Toml sorting library

MIT License

Downloads
247K
Stars
89
Committers
11
toml-sort - Standardize cli help strings

Published by pappasam about 5 years ago

toml-sort - Preserve top-level comments

Published by pappasam about 5 years ago

Comments at the beginning of the TOML document are preserved. These are considered the document "header" and are not associated the ordered elements. Comments throughout the document cannot be consistently ordered.

I may add a command line option to enable / disable this in the future. It's a simple feature toggle.

toml-sort - Performance enhancements

Published by pappasam about 5 years ago

Stops creating unnecessary lists for each recursive element; just returns an iterable now

toml-sort - Simplify help message when no arguments passed

Published by pappasam about 5 years ago

Previous behavior was broken, now it works simply without trying to print out full message

toml-sort - Replace --ignore-non-tables with --all

Published by pappasam about 5 years ago

 Make not sorting non-table keys the default with --all

 Replaces the --ignore-non-tables option with the --all option (its
 opposite).
toml-sort - Fix indentation, remove option for super tables

Published by pappasam about 5 years ago

Indentation now standardized, super tables option unnecessary

toml-sort - Fix AOT Parsing, option for Super Tables!

Published by pappasam about 5 years ago

  • Parses AoT's correctly
  • Adds option to include Super Table headers, for those who want them
toml-sort - Add --version option

Published by pappasam about 5 years ago

Very simply adds a --version command line option

toml-sort - Add option to ignore non-tables

Published by pappasam about 5 years ago

Sorting now works optionally for table contents (opt-out) through the --ignore-non-tables flag

toml-sort - Remove unnecessary - for stdin

Published by pappasam about 5 years ago

Standard input no longer requires explicit -

toml-sort - Standardize CLI

Published by pappasam about 5 years ago

Command line interface now conforms to Unix standards. Can read from any file (including stdin) and write to any file (including stdout) with a click-standard interface.

toml-sort - Initial release

Published by pappasam about 5 years ago