https://github.com/srz-zumix/unity-yaml-normalize
Unity YAML files normalizer
https://github.com/srz-zumix/unity-yaml-normalize
unity
Last synced: 3 months ago
JSON representation
Unity YAML files normalizer
- Host: GitHub
- URL: https://github.com/srz-zumix/unity-yaml-normalize
- Owner: srz-zumix
- License: mit
- Created: 2021-04-24T05:30:16.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-04-25T12:47:16.000Z (about 4 years ago)
- Last Synced: 2025-02-23T01:48:32.000Z (3 months ago)
- Topics: unity
- Language: Python
- Homepage:
- Size: 11.7 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# unity-yaml-normalize
[](https://badge.fury.io/py/unity-yaml-normalize)
[](https://pypi.org/project/unity-yaml-normalize/)Normalize and overwrite Unity YAML files(onfigurations, prefabs, scenes, serialized data, etc) entries.
Implemented by [unity-yaml-parser](https://github.com/socialpoint-labs/unity-yaml-parser). thanks!* Sort entries member
* Normalize negative zero.## Install
> pip install unity-yaml-normalize
## Usage
```sh
usage: unity-yaml-normalize [-h] [-v] [-o OUTPUT] INPUTpositional arguments:
INPUT input fileoptional arguments:
-h, --help show this help message and exit
-v, --version show program's version number and exit
-o OUTPUT, --output OUTPUT
output file path
```e.g.
> unity-yaml-normalize sample/SampleScene.unity -o tmp/SampleScene.unitysample/SampleScene.unity -o tmp/SampleScene.unity
