1.0.3 • Published 4 years ago

sort-keys-cli v1.0.3

Weekly downloads
4
License
Apache-2.0
Repository
github
Last release
4 years ago

sort-keys-cli

CLI tool for sindresorhus/sort-keys

Why

  • Alphabetize any JSON file quickly for easier organization
  • Can be used as a way to sort a Swagger/OpenAPI document

Usage

$ sort-keys <source>[ <destination>]

Options

-d, --deep      Deep sort all objects
<source>        Source JSON file
<destination>   (Optional) Destination file location. Will overwrite source if not provided.

Examples

Sort all keys in a JSON file
$ sort-keys example.json --deep
1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago

0.0.1

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.0

4 years ago