@amir-cli/cli-set
v1.0.4
Published
set plugin for cli
Downloads
7
Readme
cli-set
This is the GET plugin for CLI project.
- NPM: @amir-cli/cli-get, GITHUB: cli-get
Usages:
will change the target object’s member named “propertyname” to have a value equal to “newValue”. If the input value is incompatible (i.e. an int being set to a string), print out an appropriate error message.SET propertyname=newValue
:
Connector structore:
test
Folder: Each usage is unit tested using mochaset.js
file: It's like Data Access Object (DAO) of the connector where it exposes the newly implemented commandssetHandlers.js
file: It's the handler for each exposed usages
Unit tests:
- This connector comes with it's own unit tests written in mocha, you can run unit tests for each module sperataly using
npm test
command.