{"_id":"@adra-network/mautic-role-seeder-cli","_rev":"2-a661109445e0be1c934c880f894d1ee9","name":"@adra-network/mautic-role-seeder-cli","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@adra-network/mautic-role-seeder-cli","version":"1.0.0","type":"module","description":"This tool is a Node.js command-line application for seeding default roles into a new Mautic instance. It uses the Mautic REST API to create roles.","exports":"./index.js","bin":{"mautic-role-seeder-cli":"index.mjs"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":[],"author":"","license":"ISC","dependencies":{"axios":"^1.3.6","chalk":"^5.2.0","dotenv":"^16.0.3","glob":"^10.2.2","inquirer":"^9.2.0"},"gitHead":"3b051380c802788948215a46e3bc61160a4aff6f","_id":"@adra-network/mautic-role-seeder-cli@1.0.0","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-HgLQdkjxwbob84vCPb6SpZYjDbqbI08bn5u7SIrdJ9ei3DuC9ze3fEPf4erBCla6vWpp8VxAzkuv/tz4HEjOBQ==","shasum":"d7515e2c2dd6f22ed06e088e9006ea4c8fe80202","tarball":"https://registry.npmjs.org/@adra-network/mautic-role-seeder-cli/-/mautic-role-seeder-cli-1.0.0.tgz","fileCount":10,"unpackedSize":11234,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFVE4sHjIr2vAA38QJm+jAgL1Q5S+1SCt9xtRigKoh0NAiEA5H9yqInEy3bN8B1Q0YYTy+uVaVigG3UXktUclJ3IXfM="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkSp03ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrDIg/+KoVY3puN7//ra0fetr+QzYe2hkt4Sv3liJG9u8vbW57PQuY2\r\nZT0gScJA6WOsw9QlUhJzfg+7hVLMEd0rltkW9xtgoQ9Riy39DtYXTuzq7kL3\r\nopHkAFKXSGMj6Y5YC1Yub8fJXhkkULZ5LzMx3B+o31Tp2LeVmt3Ti6LyWFmM\r\nUs2E8wsuxHnD74ttf/krmrODZCYVz1TcLLusAzhAuH8RcXzsrKN7oaBprf0M\r\nYh2uIooDBuUJ3c2l4uNbo7lN1eJYzSLvJtEwDK8hWMkNjFXT9Q6fI7qCEqYa\r\nEok43ViTDM0RoecKrzNDELRMR211N67Pu4QhCzROpwtGSO/lVrT5pvYjZIbx\r\n1AjFjvAoM0iMDA2R11uC6q065cMjd7arsd+L6rAJeK+gY8zjvaDCuyY7N7vL\r\nQzZiFmlzU0RIr8cJ9oUVE3cSBhDWkxGpITjvSlm+p2zVn1J8QleBQ3YlRNGP\r\naB/5DjL5VAhT+9ZxayUmZ7r6Os32NxgIc/OarKXuoEVkgZoRfWQbRCQmSrFf\r\nq3uxK4PLLbkSh2bVNKGH4McoUZjInfpqi4F60vm2ZXp1y/0x3mqCvG7q9VWT\r\nmHQG6VRLcNm3GU7kPbs8LFVW0MHVabHEPXGg2hSBgMVFJjeAlYGcfiASnqV8\r\nTtAKedTu0DHoRW4CQJ/ezV7c5e7Cg+mcG/k=\r\n=AJy1\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"francoisauclair911","email":"francois.auclair.911@gmail.com"},"directories":{},"maintainers":[{"name":"francoisauclair911","email":"francois.auclair.911@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mautic-role-seeder-cli_1.0.0_1682611511174_0.9012473727816912"},"_hasShrinkwrap":false},"1.0.1":{"name":"@adra-network/mautic-role-seeder-cli","version":"1.0.1","type":"module","description":"This tool is a Node.js command-line application for seeding default roles into a new Mautic instance. It uses the Mautic REST API to create roles.","exports":"./index.js","bin":{"mautic-role-seeder-cli":"index.mjs"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":[],"author":"","license":"ISC","dependencies":{"axios":"^1.3.6","chalk":"^5.2.0","dotenv":"^16.0.3","glob":"^10.2.2","inquirer":"^9.2.0"},"gitHead":"a20b941f342cb3d209ced26ecfa37cc208d4f2a5","_id":"@adra-network/mautic-role-seeder-cli@1.0.1","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-icxMW/uSEAK6LW0+vLBvqInzppWr6FSI70i8pPhgf7qi8tQRr9iA97pF1hU1ZSigcgp35nTD54gjze8dowpEwQ==","shasum":"14a2d8f0d3d2d989653b7742b802c66e8a3fefc7","tarball":"https://registry.npmjs.org/@adra-network/mautic-role-seeder-cli/-/mautic-role-seeder-cli-1.0.1.tgz","fileCount":10,"unpackedSize":11404,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAQKloXLke3uPXjpPp6nZTsQ2+s0PhHU1T5Nfq/JnxRGAiEA03rBe8Af4CuTe6i320o6h3BprmK2lF84xDIJaDTx3Js="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkSp9tACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr6/Q/7ByCpq2tn85NPPIp3Rf7c/blPTnxAc9F/9rzSViKNzZYAGpql\r\nv4tlzpdy+bbh2gPDiivqKNY2OO3VuAiJowVKPdLZpQuVqzwoyVmLS2xKTSP1\r\nCU1wmKblrzG+WJuLiPkyRBcusklq/mfHQWBiJxydfyXsP7O30Asv7hxdfuoe\r\nSDvt1P/oEgRBWojtgqHGnj/M5VGAPsc/7eG6wRWspOkHGzHU74GSW1kFQfkr\r\nPSV4wu14Jk+PsqYYW7GW9eo4lZRLK2FAYDQJhPzU45zBAmkC5mlYNA+9y+Wh\r\nLiWi5fE7X/QP7iTgycLanUMrogmsySBmJqCgHqfH8wXETUJI1xURFXYABuyX\r\n57QPLWWS7A1PB0DtdL9Zv92cijNuG4dSbpARYtGJ2lO9pjnjIeIKdy30iRcX\r\nDrBjc5d/XGCEGfawY9hCWQLaB6B7XA8WOVmWCGrTQylJc7KXwuHCXCY76ikf\r\njO2U9yglSBMbXwkQmF1A9Z1n2JX9v8w/H0e3X1a5Piu2yVnHxiXP7OBU8tAF\r\nnGnBvFkDcCSP725xc5NOa1yvImrs/1TYqr7+4KFoLSj5gCzgmUjHdqJL75wX\r\nkNULXaQtLMmUoaHMYfEMFNSSwnXF+L40LEjgY/akjcDKhJYJ88kZDrZAaF4/\r\ng6uklW5wf7QyDC1DGYUJzegOkTjzayFYdjE=\r\n=nMPm\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"francoisauclair911","email":"francois.auclair.911@gmail.com"},"directories":{},"maintainers":[{"name":"francoisauclair911","email":"francois.auclair.911@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mautic-role-seeder-cli_1.0.1_1682612076847_0.4447374903099852"},"_hasShrinkwrap":false}},"time":{"created":"2023-04-27T16:05:11.107Z","1.0.0":"2023-04-27T16:05:11.356Z","modified":"2024-02-11T22:33:01.552Z","1.0.1":"2023-04-27T16:14:37.008Z"},"maintainers":[{"email":"mark.leroux@adra.org","name":"relocate7140"},{"email":"francois.auclair.911@gmail.com","name":"francoisauclair911"}],"description":"This tool is a Node.js command-line application for seeding default roles into a new Mautic instance. It uses the Mautic REST API to create roles.","keywords":[],"license":"ISC","readme":"## Readme File for Mautic Role Seeding Tool\n\nThis tool is a Node.js command-line application for seeding default roles into a new Mautic instance. It uses the Mautic REST API to create roles.\n\n### Prerequisites\n\n- Node.js version 14 or higher\n- A Mautic instance with a valid URL, client ID, and client secret. These must be provided during the execution of the tool or stored in a `.env` file in the root directory of the project.\n\n### Installation\n\n1. Clone this repository or download the source code.\n2. Navigate to the root directory of the project in your terminal.\n3. Run `npm install` to install the required dependencies.\n\n### Usage\n\nTo run the tool, execute the following command in your terminal:\n\n```bash\nnode index.mjs\n```\n\nThe tool will prompt you to enter the Mautic URL, client ID, and client secret. If you have stored these values in a `.env` file, they will be loaded automatically. You will also be prompted to confirm that you want to create the default roles. If you confirm, the tool will delete all existing roles (except the default administrator role) and seed the new roles.\n\n### License\n\nThis tool is released under the MIT License. See the `LICENSE` file for more information.\n","readmeFilename":"Readme.md"}