This package has been deprecated

Author message:

Package moved to @dlukanin/cla-mapper (https://www.npmjs.com/package/@dlukanin/cla-mapper)

cla-mapper
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

cla-mapper

Build Status Total alerts Coverage Status

A small library that processes js object and returns ready for use array of command line args.

Install

npm i cla-mapper

Use

import {ClaMapper} from 'cla-mapper';

const mapper = new ClaMapper({
    opt1: '-o',
    opt2: '--opt2',
    opt3: '--opt3'
});

mapper.getCommandLineArgs({
    opt1: 'val',
    opt2: true,
    opt3: false
}); // ['-o', 'val', '--opt2']

License

Lib is MIT licensed

Support on Beerpay

Hey dude! Help me out for a couple of 🍻!

Beerpay Beerpay

Package Sidebar

Install

npm i cla-mapper

Weekly Downloads

2

Version

1.0.0

License

MIT

Unpacked Size

6.81 kB

Total Files

12

Last publish

Collaborators

  • dlukanin