New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

ymal

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ymal

The command line utility for modifiying [yaml] files

latest
Source
npmnpm
Version
0.1.0
Version published
Maintainers
1
Created
Source

YMal

YMal — The command line utility for modifiying YAML files

Build Status npm version

Usage

  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

Sample

# Removes classes starts with `tst_` and 
# sets `classes.languages::list.perl` property value to `Silver`

# Short 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

  • Fork this repository to your own GitHub account and then clone it to your local device
  • Uninstall now-serve if it's already installed: npm uninstall -g ymal
  • Link it to the global module directory: npm link
  • Transpile the source code and watch for changes: npm start

Credits

  • Licensed under MIT.

FAQs

Package last updated on 09 Aug 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts