{"_id":"@amberjs/cli","_rev":"4-dcaac582341a638938c90a250fb69eb4","name":"@amberjs/cli","dist-tags":{"latest":"0.0.4"},"versions":{"0.0.1":{"name":"@amberjs/cli","version":"0.0.1","description":"Amber.js command line interface","main":"./src/handler.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"pkg package.json"},"repository":{"type":"git","url":"https://gitlab.stratpoint.dev/thebrewery/amberjs/cli.git"},"pkg":{"scripts":"src/actions/**","assets":"src/configs/*.json"},"keywords":["thebrewery","amberjs","cli","generators"],"author":{"name":"brewers@stratpoint.com"},"license":"MIT","dependencies":{"chalk":"^2.4.2","command-exists":"^1.2.8","commander":"^3.0.1","decompress":"^4.2.0","decompress-targz":"^4.1.1","dotenv":"^8.1.0","graphql-to-json-schema":"^1.0.0","inflection":"^1.12.0","inquirer":"^7.0.0","mv":"^2.1.1","ora":"^4.0.1","sequelize":"^5.19.0","sequelize-auto-v2":"^0.5.3","sequelize-cli":"^5.5.1","swagger-sequelize":"^0.1.3","yamljs":"^0.3.0"},"devDependencies":{"eslint":"^6.4.0","eslint-config-airbnb-base":"^14.0.0","eslint-plugin-import":"^2.18.2","husky":"^3.0.5","lint-staged":"^9.3.0","pkg":"^4.4.0"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"{src,config}/**/*.js":["eslint --fix","git add"]},"bin":{"amber":"./src/handler.js"},"gitHead":"ebebb39162e1a05d75955668536a8a524e1b7fd2","_id":"@amberjs/cli@0.0.1","_nodeVersion":"12.6.0","_npmVersion":"6.10.2","dist":{"integrity":"sha512-I/2gn6I7qixhVWcT6BF2JY2cSu9QYXKfhtSgcS/Bf+WJyhP4/499p6oOrVmD5AMravFKTl+Fv7HpEmFyrPJ2Xw==","shasum":"f143dbcd6aed304b0872f9ea4b4847d7bf2808fc","tarball":"https://registry.npmjs.org/@amberjs/cli/-/cli-0.0.1.tgz","fileCount":49,"unpackedSize":102520,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdo062CRA9TVsSAnZWagAA410P/36s//NUvU9GTl/1Taw0\ngl792JuUP0QAyblxXhoCaK/9nL2UIZuDjX4uasWXF6xhv8R6uWKtgY6mBMfj\nkT7ocVfAgQQeoRi2VO79I676XYBxALXHcU3IQbRGn9yVeXGbkStRwjFlRnix\nEIsSEmeBV71qXOI+KzwFPt9BSHNGqvzkdh5ajzZmS/pFxW9rS9fxP3uHoDx3\nwnIXIzKHTqGbfAF1QHD1ogOswHdE70woIzZz670nGCwMNCFFl1mkVO1pQyHG\nV19diONKJtRluWPjr/5m/gKMAPe6LHuUVh3lFUYjkdAipyRcnjXkoR2ra5fr\nIRpqBa/wKqsl7yHxlvJyHCJbefJpw69ooJ64Lts9rF8x/YBpuWYLNH0z/KXd\n3dc3BIaq5IfWZvD5McfF10dcX+cBBcVbmvDvDrlWo4DOS+iaUyefgLGK4ISl\nVW4KIR78ypY69XvAelPkh+HLOui/aKYqZfGcCPLlooRUw4PFLFML6tlaL4g4\n2r1QWOBjLVXVMyc1yFf9pbbVBBfq43Zv6BO2stNHsthDm9zUF8UkE0ggc2nV\nSNqAwu1T4fNKbKvNmCxHNRVYqmDAQ+1dv1DcC5RDrM4J6AQlxlshfnIdOVbi\nuk982fcFIMz35WleMvCMY/vkeImTqnh1pnhmL3HbWtt2oc1sl7RTS97T/Jl+\nrvGX\r\n=JECy\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHX3orXmFmXZ6i02BU8WGHrV3BJFaiBe7eOOhRG48GQAAiAZ9HulLZ/KwHp9hi8ZTzIGFHS/DxdK4cDAaGOkcA5ZkA=="}]},"maintainers":[{"name":"excelsior.mante","email":"excelsior.mante@gmail.com"},{"name":"jcalado","email":"jcalado@stratpoint.com"},{"name":"brewery-apps","email":"apps@stratpoint.dev"}],"_npmUser":{"name":"jcalado","email":"jcalado@stratpoint.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cli_0.0.1_1570983605657_0.8832010828539365"},"_hasShrinkwrap":false},"0.0.2":{"name":"@amberjs/cli","version":"0.0.2","description":"Amber.js command line interface","main":"./src/handler.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"pkg package.json"},"repository":{"type":"git","url":"https://gitlab.stratpoint.dev/thebrewery/amberjs/cli.git"},"pkg":{"scripts":"src/actions/**","assets":"src/configs/*.json"},"keywords":["thebrewery","amberjs","cli","generators"],"author":{"name":"brewers@stratpoint.com"},"license":"MIT","dependencies":{"chalk":"^2.4.2","command-exists":"^1.2.8","commander":"^3.0.1","decompress":"^4.2.0","decompress-targz":"^4.1.1","dotenv":"^8.1.0","graphql-to-json-schema":"^1.0.0","inflection":"^1.12.0","inquirer":"^7.0.0","mv":"^2.1.1","ora":"^4.0.1","sequelize":"^5.19.0","sequelize-auto-v2":"^0.5.3","sequelize-cli":"^5.5.1","swagger-sequelize":"^0.1.3","yamljs":"^0.3.0"},"devDependencies":{"eslint":"^6.4.0","eslint-config-airbnb-base":"^14.0.0","eslint-plugin-import":"^2.18.2","husky":"^3.0.5","lint-staged":"^9.3.0","pkg":"^4.4.0"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"{src,config}/**/*.js":["eslint --fix","git add"]},"bin":{"amber":"./src/handler.js"},"gitHead":"b68e7008d584e324ebfca19b17f96189df391511","_id":"@amberjs/cli@0.0.2","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"excelsior.mante","email":"excelsior.mante@gmail.com"},"dist":{"integrity":"sha512-LoAwG3qlqcNCNS8HaR/eWxRgbZAvenE588GNiacAQL61rUpivHYxUr4XEGHvE1DE6re5dk1TItXphsWHU695jQ==","shasum":"10fd729956ed0b6c83c18db246dd35c38828a60e","tarball":"https://registry.npmjs.org/@amberjs/cli/-/cli-0.0.2.tgz","fileCount":49,"unpackedSize":103466,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdpoiiCRA9TVsSAnZWagAAH88P/jLuQyUU/xSiO5T7APZN\nz9tO8Q2/xOT/+GmmsKueP5nF1h+bcuNUAksdn56b9Nilz2J84UU6f/vHya63\nSIH9PRTZrrq1c5hPRLI7DnfXvKNhQgXxjwgUNwGWuqEpfVagh42k/S0+gN9k\nHR4NNeKEzjSA2YPoLj2t6Ci8ARK1kxTsIB1kqv0f3NP8XunB89PJIqJ1aCgM\nFq33IhWwYBV+2rjoh8thx88z4xPVbsHE2U6fvLdDzzZbsQVC7gc6vfRHm+TZ\nmdnMffGMVNbMaW0+lxV2dWHFBWc6yC77AV+aeRJH7VydXQ3VAsrwDbHofClV\n0w9OYGUfNqL0kkbhXM71zZQ5b46BNoVF58fBRKIbKrIIysUbvGd6KxqgYOE0\nVm6lL5FUWFcbPK82MrTdXrO5xNbS1fQMnCtJI+r8IuXkh5u6U4oNI1UaHp5p\nGvy++WpEF/0/Yjx1uDi6ga897dz70J2KidqPGphSdCLDd82aP11DBkg8sF8x\n/86kHDze/UIEFnj9CD+wzSUD9MhEXkaTbJa8NFg07Sx9t7/SB5twCPkw7OT3\nxmTZKDlbvo9+MWBK1OnMccZReaapeo4vKyiQjCfbwZ+Y725dQKYMV+TjP66Z\n2f/6JHqGYbr5dracHZbwM/19bnaJTW1UEkUqQwx3lmU/+dKMokPIcuhjlLjy\nlrfy\r\n=QpRq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDsv3WKT9VFjv7ll+pNqXD9M6xk28De9YVA3S/Lkq8i4AIgPIUbXFz43y5hLc0F6aM7q630s6XyOWu6IWcjd2pa+Ys="}]},"maintainers":[{"name":"brewery-apps","email":"apps@stratpoint.dev"},{"name":"excelsior.mante","email":"excelsior.mante@gmail.com"},{"name":"jcalado","email":"jcalado@stratpoint.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cli_0.0.2_1571195042176_0.29293635315520095"},"_hasShrinkwrap":false},"0.0.3":{"name":"@amberjs/cli","version":"0.0.3","description":"Amber.js command line interface","main":"./src/handler.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"pkg package.json"},"repository":{"type":"git","url":"https://gitlab.stratpoint.dev/thebrewery/amberjs/cli.git"},"pkg":{"scripts":"src/actions/**","assets":"src/configs/*.json"},"keywords":["thebrewery","amberjs","cli","generators"],"author":{"name":"brewers@stratpoint.com"},"license":"MIT","dependencies":{"chalk":"^2.4.2","command-exists":"^1.2.8","commander":"^3.0.1","decompress":"^4.2.0","decompress-targz":"^4.1.1","dotenv":"^8.1.0","graphql-to-json-schema":"^1.0.0","inflection":"^1.12.0","inquirer":"^7.0.0","mv":"^2.1.1","ora":"^4.0.1","sequelize":"^5.19.0","sequelize-cli":"^5.5.1","swagger-sequelize":"^0.1.3","yamljs":"^0.3.0"},"devDependencies":{"eslint":"^6.4.0","eslint-config-airbnb-base":"^14.0.0","eslint-plugin-import":"^2.18.2","husky":"^3.0.5","lint-staged":"^9.3.0","pkg":"^4.4.0"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"{src,config}/**/*.js":["eslint --fix","git add"]},"bin":{"amber":"./src/handler.js"},"gitHead":"1d6fd32eb9da8c428470b77b0d0ae195a2cb93fc","_id":"@amberjs/cli@0.0.3","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"excelsior.mante","email":"excelsior.mante@gmail.com"},"dist":{"integrity":"sha512-5ASl2WWxJfDVRcQp04CZmMK8BFSA6zC4yqxyVehs73X/1VCN1QzF/u+aG+n7DS5vRtWTSJvQpPJmknPMl6PLVQ==","shasum":"67f919e818569d638dcf65f08efd0c6faf6cb1fd","tarball":"https://registry.npmjs.org/@amberjs/cli/-/cli-0.0.3.tgz","fileCount":49,"unpackedSize":103431,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdr6B9CRA9TVsSAnZWagAAc5IQAJpaEBfPiAeNhomTv8my\nEW3re8ZNpzfvSn5znTeJq6RCKt5khuweY8T+9/AgV36XYSfasJKNelmC+psW\nylcPAMVPNCgvcBPP2baU1VYTFZGN5nljehiT1CizJjETY8wdGj8GkGkXIrq/\nYgJcTc0kS+1v/ifI6iaRaO3i05Ne/eI/A5n1rwmxZpZ42FVPaaFSITjug06D\nI7mwHXc6XDCty+jzqyCP0A9NaP4f6CV7iKID0oOtp+uYFC4H5tRxF0D8Y9T9\n2Yxdfo7T8ThtHEAibiPCzEw/C9wWPv9CAlGfnMm7k3jBmqBb1YWL61BZwVmp\nuP3cECD/ur847YOnArNNgW2kqgQcJjXjWPxW6gv2NKU6kXr1hnP/ajqeeqSg\nziXFFh+LPGcjyZ9hXWubHrI3Ya+dG6aMY1jDwEdTxuhxFHf8+g6PdpjZLLo3\nM+QvGPG6a0A84+/UKygwhUSD5RslFKopbe/zPYhO8xJ2iQKUrk5RuDjyfbqL\nocJS5Bis2A31+n19wAIuj49HO7RaxsYXoC/86js/6lkqpNyt3261deuTg4Wr\n4Kj1aaHsurxF2GoLsOe4F014JBJxTB2Meo2160gN8AZpkUIylx+D+YVFYwvN\nGyuCga68lcEODx0ya1y1rvJWtaI+5HABnYpSHa4yV73IYOVo2qAX3fz9P6aQ\n3Hq8\r\n=Jk8M\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEEzg18oGPoHWEadYr29yvCc0ywh1z81KYvlBjPyMybHAiAtBIuXqBxuntb57DTwWHRsHwYAeW2PVoi7wLinhrsBDg=="}]},"maintainers":[{"name":"brewery-apps","email":"apps@stratpoint.dev"},{"name":"excelsior.mante","email":"excelsior.mante@gmail.com"},{"name":"jcalado","email":"jcalado@stratpoint.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cli_0.0.3_1571790973334_0.09017987788111759"},"_hasShrinkwrap":false},"0.0.4":{"name":"@amberjs/cli","version":"0.0.4","description":"Amber.js command line interface","main":"./src/handler.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"pkg package.json"},"repository":{"type":"git","url":"https://gitlab.stratpoint.dev/thebrewery/amberjs/cli.git"},"pkg":{"scripts":"src/actions/**","assets":"src/configs/*.json"},"keywords":["thebrewery","amberjs","cli","generators"],"author":{"name":"brewers@stratpoint.com"},"license":"MIT","dependencies":{"chalk":"^2.4.2","command-exists":"^1.2.8","commander":"^3.0.1","decompress":"^4.2.0","decompress-targz":"^4.1.1","dotenv":"^8.1.0","graphql-to-json-schema":"^1.0.0","inflection":"^1.12.0","inquirer":"^7.0.0","mv":"^2.1.1","ora":"^4.0.1","sequelize":"^5.19.0","sequelize-cli":"^5.5.1","swagger-sequelize":"^0.1.3","yamljs":"^0.3.0"},"devDependencies":{"eslint":"^6.4.0","eslint-config-airbnb-base":"^14.0.0","eslint-plugin-import":"^2.18.2","husky":"^3.0.5","lint-staged":"^9.3.0","pkg":"^4.4.0"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"{src,config}/**/*.js":["eslint --fix","git add"]},"bin":{"amber":"./src/handler.js"},"gitHead":"ee54144b9d4978bcc96399ecccbc6f3737826edc","_id":"@amberjs/cli@0.0.4","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"excelsior.mante","email":"excelsior.mante@gmail.com"},"dist":{"integrity":"sha512-0iP4lR0TKtJ7pLELaJLQcELt8CatJM3kThY7/F7d8ZJKG/CPCTIo801OJLTumplz9LqnBVNSTrnP2aYdQcYfMA==","shasum":"b2ef0983060288dbdb2f747588689a2ebb0e31c5","tarball":"https://registry.npmjs.org/@amberjs/cli/-/cli-0.0.4.tgz","fileCount":49,"unpackedSize":103506,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdr6JuCRA9TVsSAnZWagAAAV8P/ji8fDhy8eAjvTu+a+29\nX78AR8nm7ugTC1ajbnyiTcm+IBPiZMZoUOjbXTaLvGgc38B+3q9rjdBNszMv\nyyXfJyrYxHWKj0aRCROzuDXc0P7xpjpbR3k7pVqiXemucpD1RIvJbi+5pm4r\nmvJcUS7ht++jW4dIMwDVislbpTUg05fYy3ZKAx5JhIX1Q9SKu7OxFHZr8oZy\nhDbQI5ADmSDK58+fQF26Ur2TO2M5tH5NKoQQkUgqcfQujZ22wTei5TpOGjH3\njJBD39VNs8IQPlbdbvdl/rEYmSMRjzXgsisFEBb9+8wFri5ZtOfVnK3/yWhT\nniCwevBmFHmt0SxOyH+DXgeoWkUmAVmm/ANgf6Ycv1zDuoJOADxST2WgK8Q/\nKYuwhXiAyatzFOtcjdBOGV5NA2MbvESoeYt7f5Pm4fg3eCV+eZpc7SixsrO6\n4oxKVoz9zNIcx+zXPuDQXSST9325cNVNkRpFr2/+jcdHFsJCvmye+K79MHYl\neSa8YPc7Vm8vDOfraXx8cnvOD5oUOVFfRqYynrmB2x5j0sZ8P/R52Chhykhu\noauCJseHcwmA8zhkiZ4oBfMtHNvzPykEYG2rxjXwcPojtCsA7aZoZI2p7jES\nNqgYPP62HbIG3GDbBZOuEFwTbFvO+awN9g++WW5m1HhqfakxzkIaQDfZw/tU\nyTtQ\r\n=HF9Y\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDIEZTZmF1rN66yYfz4Zl8wFVthYxfIw7icZQ5hz3QTHwIgaYYE0IT1Wlr7EAB9cx9/n3Na8s/6vWixxbr1aFypNDc="}]},"maintainers":[{"name":"brewery-apps","email":"apps@stratpoint.dev"},{"name":"excelsior.mante","email":"excelsior.mante@gmail.com"},{"name":"jcalado","email":"jcalado@stratpoint.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cli_0.0.4_1571791469528_0.856994126846629"},"_hasShrinkwrap":false}},"time":{"created":"2019-10-13T16:20:05.434Z","0.0.1":"2019-10-13T16:20:05.782Z","modified":"2022-04-04T13:45:47.445Z","0.0.2":"2019-10-16T03:04:02.341Z","0.0.3":"2019-10-23T00:36:13.489Z","0.0.4":"2019-10-23T00:44:29.640Z"},"maintainers":[{"name":"brewery-apps","email":"apps@stratpoint.dev"},{"name":"excelsior.mante","email":"excelsior.mante@gmail.com"},{"name":"jcalado","email":"jcalado@stratpoint.com"}],"description":"Amber.js command line interface","keywords":["thebrewery","amberjs","cli","generators"],"repository":{"type":"git","url":"https://gitlab.stratpoint.dev/thebrewery/amberjs/cli.git"},"author":{"name":"brewers@stratpoint.com"},"license":"MIT","readme":"# @amberjs/cli\n\nAmber.js CLI tool. Code generators for Amber.js Framework.\n\n## Table of Contents\n\n* [Usage](#usage)\n* [Development](#development)\n  * [Prerequisites](#prerequisites)\n  * [Build](#Build)\n* [Contributors](#contributors)\n* [License](#license)\n\n## Usage\n\nThis CLI tools is a helper for Amber.js Framework. It eases development workflow by generating codes and templates for Amber.js Framework.\n\nYou must be in the root directory of an Amber.js project generated using [@brewery/cli](https://gitlab.stratpoint.dev/thebrewery/brewery-cli).\n\n```\nAmber.js CLI v0.0.1\n\nCommands:\n  graphql:deploy            deploy resolver server using defined SDL\n  scaffold                  scaffold infra, interface and domain based on swagger schema\n  create:domain <name>      create domain base template\n  create:appservice <name>  create app service base template\n  create:datasource         create datasource wizard\n  create:repository         create repository command\n  create:model              create model command\n  create:apiresource        create apiresource command\n```\n\n## Development\n\nCreating commands:\n\nExample command configuration:\n\nSingle command in one JSON file:\n\n```json\n{\n    \"command\": \"command <!arg1> <arg2>\",\n    \"description\": \"command description\",\n    \"usage\": \"command arg1 --option=value \",\n    \"options\": {\n        \"option1\": {\n            \"description\": \"option1 description\",\n            \"default\" : true,\n            \"value\": \"required\"\n        },\n        \"option2\": {\n            \"description\": \"option2 description\"\n        },\n        \"option3\": {\n            \"description\": \"option3 description\"\n        }\n    },\n    \"execPath\": \"./actions/command/\"\n}\n```\n\nMultiple commands in one JSON file:\n\n```json\n[\n  {\n    \"command\": \"namespace:command1 <!arg1> <arg2>\",\n    \"description\": \"namespace:command1 description\",\n    \"usage\": \"namespace:command1 --options=value \",\n    \"options\": {\n        \"option1\": {\n            \"description\": \"option1 description\",\n            \"default\" : true,\n            \"value\": \"required\"\n        },\n        \"option2\": {\n            \"description\": \"option2 description\"\n        },\n        \"option3\": {\n            \"description\": \"option3 description\"\n        }\n    },\n    \"execPath\": \"./actions/namespace/\"\n  },\n  {\n    \"command\": \"namespace:command2\",\n    \"description\": \"namespace:command2 description\",\n    \"usage\": \"namespace:command2 --options\",\n    \"options\": {\n        \"option1\": {\n            \"description\": \"option1 description\",\n            \"default\" : true,\n            \"value\": \"required\"\n        },\n        \"option2\": {\n            \"description\": \"option2 description\"\n        },\n        \"option3\": {\n            \"description\": \"option3 description\"\n        }\n    },\n    \"execPath\": \"./actions/namespace/\"\n  }\n]\n\n```\n\nTo create commands for CLI, create new json file on ```src/configs/your_command.json```. The config json will automatically be loaded by the CLI.\n\n- ```command```: Name of the command. Expected arguments for the command should be enclosed in \"```< >```\" eg. ```\"<arg1>\"```, if an argument is required it should be enclosed in ```\"<! >\"``` eg. ```\"<!arg2>\"```\n- ```description```: description of the command\n- ```usage```: example usage of the command\n- ```options```: available options for the command\n  - ```default```: set to true if option should be enabled by default.\n  - ```value```: set to required if a value for the option is required.\n- ```execPath```: should contain the path to the script that will perform the action of your command, you may place your scripts on src/actions for uniformity\n- your ```execPath``` should return a function that requires 3 parameters for (config , command, args)\n\n\n\nExample script for command action considering the following input from the CLI\n\n```sh\nbinaryname samplecommand argValue --option1=value \n```\n\n\n```js\n\nconst commandAction = (config, command, args) => {\n\n  console.log(config); // contains config of your command loaded from the JSON file\n  /*\n    {\n      \"command\": \"samplecommand <!arg1> <arg2>\",\n      \"description\": \"samplecommand description\",\n      \"usage\": \"samplecommand --options=value \",\n      \"options\": {\n          \"option1\": {\n              \"description\": \"option1 description\",\n              \"default\" : true,\n              \"value\": \"required\"\n          },\n          \"option2\": {\n              \"description\": \"option2 description\"\n          },\n          \"option3\": {\n              \"description\": \"option3 description\"\n          }\n      },\n      \"execPath\": \"./actions/samplecommand/\"\n    },\n  */\n\n console.log(command); // contains organized data based on parsed input from cli\n /*\n    {\n      name: samplecommand\n      args: {\n        arg1: \"argValue\",\n        arg2: null\n      }\n      options: {\n          \"option1\": {\n            value: \"value\"\n          },\n          \"option2\": null,\n          \"option3\": null\n      }\n    }\n */\n\n  console.log(args) // contains array of raw arguments inputted on the cli\n  // ['binaryname', 'samplecommand', 'argValue', '--option1=value']\n\n\n  // Perform the action for your command ...\n\n}\n\nmodule.exports = commandAction;\n```\n\n## Prerequisites\n\nInstall ```pkg``` for creating executable files\n```sh\nnpm install -g pkg\n```\n\n## Build\n\nTo build executable file for all platforms (Windows, Linux, Macos) run:\n\n```sh\nnpm run build\n```\n\nor\n\n```sh\npkg package.json\n```\n\nthis will create the executable files on project root directory\n\n## Contributors\n\n* Joshua Elijah Mante\n* Ronald dela Cruz \n* James Levin Calado\n* brewers@stratpoint.com\n\n## License\n\n[MIT](LICENSE) © Stratpoint Technologies Inc.\n\n\n\n\n\n\n\n\n","readmeFilename":"readme.md"}