Skip to content

Transforming xml to pretty form in command prompt for git diff.

License

Notifications You must be signed in to change notification settings

insysbio/pretty-xml-textconv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pretty-xml-textconv

Transforming xml to pretty form in command prompt. The arguments adapted for textconv as required for .git/config.

Simple wrapper for pretty-data npm package.

Installation

Required npm and nodejs installed.

npm install pretty-xml-textconv --global

Can be used to transform from command prompt.

pretty-xml-textconv file.xml >> out.txt

Usage for git

For implementation in all git repositories use:

git config --global diff.xml.textconv pretty-xml-textconv

In particular project include lines in .gitattributes:

*.xml diff=xml

See also

Author

Evgeny Metelkin @metelkin

About

Transforming xml to pretty form in command prompt for git diff.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published