The command line utility for modifiying [yaml] files
npm install ymalYMal
============================
_YMal — The command line utility for modifiying YAML files_


``
Usage: ymal [options] [command]
Commands:
help Display help
Options:
-C, --classes-to-remove List of classes to remove
-f, --file YAML file path
-h, --help Output usage information
-P, --pattern-to-remove-classes Remove classes by pattern o_O!
-s, --set-value Set property value form: property=value`
-v, --version Output the version number
sh
Removes classes starts with
tst_ and
sets
classes.languages::list.perl property value to SilverShort form
ymal -f sample.yaml -s 'classes.languages::list.perl=Silver' -P '^tst_'Long form
ymal --file=sample.yaml --set-value='classes.languages::list.perl=Silver' \
--pattern-to-remove-classes='^tst_'
`
Contribute
1. Fork this repository to your own GitHub account and then clone it to your local device
2. Uninstall now-serve if it's already installed:
npm uninstall -g ymal
3. Link it to the global module directory: npm link
4. Transpile the source code and watch for changes: npm start`