1.0.4 • Published 2 years ago

@amir-cli/cli-set v1.0.4

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

cli-set

This is the GET plugin for CLI project.

image

Usages:

  • SET propertyname=newValue :

    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.

Connector structore:

  • test Folder: Each usage is unit tested using mocha
  • set.js file: It's like Data Access Object (DAO) of the connector where it exposes the newly implemented commands
  • setHandlers.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.