{"_id":"architect-init","_rev":"25-f3be791b4dcf446530cbf86e8aa1b399","name":"architect-init","description":"CLI tool to help you start a new Architect app by creating all the structure and main files.","dist-tags":{"latest":"1.0.2"},"versions":{"0.1.0":{"name":"architect-init","version":"0.1.0","author":{"name":"Leeroy Brun","email":"leeroy.brun@gmail.com"},"description":"CLI tool to help you start a new Architect app by creating all the structure and main files.","repository":{"type":"git","url":"https://github.com/leeroybrun/architect-app-init.git"},"keywords":["architect","plugins","init","scaffold"],"license":"MIT","dependencies":{"prompt":"0.2.12","colors":"0.6.2","mkdirp":"0.3.5"},"engines":["node"],"main":"./lib/cli.js","bugs":{"url":"https://github.com/leeroybrun/architect-app-init/issues"},"_id":"architect-init@0.1.0","dist":{"shasum":"62d23334a2f668d053a72f51874027b068cb8238","tarball":"https://registry.npmjs.org/architect-init/-/architect-init-0.1.0.tgz","integrity":"sha512-qcGB8NBxUCW27x/Cht0bUql1CNCoYitnGIL3XtuKNt3KeSRv+SW99tM4iwDs8akzgxGiA2hRBdpMKKH3LYA5Gw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEOizoLM7amKYo6t4PFziq24XD5WpYTxzieORtjmiIhAAiEAyg+hIz99uL9ik7RUyfl5sA2iQj3pyOVRPsqeL69iMy0="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"leeroy","email":"leeroy.brun@gmail.com"},"maintainers":[{"name":"leeroy","email":"leeroy.brun@gmail.com"}]},"0.1.1":{"name":"architect-init","preferGlobal":"true","version":"0.1.1","author":{"name":"Leeroy Brun","email":"leeroy.brun@gmail.com"},"description":"CLI tool to help you start a new Architect app by creating all the structure and main files.","repository":{"type":"git","url":"https://github.com/leeroybrun/architect-app-init.git"},"keywords":["architect","plugins","init","scaffold"],"license":"MIT","dependencies":{"prompt":"0.2.12","colors":"0.6.2","mkdirp":"0.3.5"},"engines":["node"],"main":"./lib/cli.js","bin":{"architect-init":"./lib/cli.js"},"bugs":{"url":"https://github.com/leeroybrun/architect-app-init/issues"},"_id":"architect-init@0.1.1","dist":{"shasum":"cc80f31243b47c246283195a7877b96ba73ae90f","tarball":"https://registry.npmjs.org/architect-init/-/architect-init-0.1.1.tgz","integrity":"sha512-6hTY2JvVvpzX8os2Uiyco+m3cVJXe2WAwSVcKQJMHdhtSygEZ930pWHVe4u7owpCgardLbCCPzjTOPj+sqBe9A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHOmP5O2kRPbPFLwJLTIMTLCPuTLl1A/Oca+mlfET5V8AiEA1Zx/A33CZrXSFVPdqtYXb3cs2eQU8VXGggjLdxDIP0s="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"leeroy","email":"leeroy.brun@gmail.com"},"maintainers":[{"name":"leeroy","email":"leeroy.brun@gmail.com"}]},"0.1.2":{"name":"architect-init","preferGlobal":"true","version":"0.1.2","author":{"name":"Leeroy Brun","email":"leeroy.brun@gmail.com"},"description":"CLI tool to help you start a new Architect app by creating all the structure and main files.","repository":{"type":"git","url":"https://github.com/leeroybrun/architect-app-init.git"},"keywords":["architect","plugins","init","scaffold"],"license":"MIT","dependencies":{"prompt":"0.2.12","colors":"0.6.2","mkdirp":"0.3.5","async":"0.2.9"},"engines":["node"],"main":"./lib/cli.js","bin":{"architect-init":"./lib/cli.js"},"bugs":{"url":"https://github.com/leeroybrun/architect-app-init/issues"},"_id":"architect-init@0.1.2","dist":{"shasum":"a4d8f0f9bd8f266c93d487446cacbdf7506d889d","tarball":"https://registry.npmjs.org/architect-init/-/architect-init-0.1.2.tgz","integrity":"sha512-yC3kdh5NJbIDj2tUVpwLxjE1Y30V7psrxJmeJSJuqcO2Bsrzq/+Za9Vo50z6pWQP0madAPS/SlS+QE3qWJOURQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDF6WMBHqdWbLwDWXilXg9R/aJ/JQcTwKZK+B/BUBHCywIgO0C/s7kLJjprsWNOHpkvc9qBO3UOagyJEMZ7AUFfGXI="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"leeroy","email":"leeroy.brun@gmail.com"},"maintainers":[{"name":"leeroy","email":"leeroy.brun@gmail.com"}]},"0.1.3":{"name":"architect-init","preferGlobal":"true","version":"0.1.3","author":{"name":"Leeroy Brun","email":"leeroy.brun@gmail.com"},"description":"CLI tool to help you start a new Architect app by creating all the structure and main files.","repository":{"type":"git","url":"https://github.com/leeroybrun/architect-app-init.git"},"keywords":["architect","plugins","init","scaffold"],"license":"MIT","dependencies":{"prompt":"0.2.12","colors":"0.6.2","mkdirp":"0.3.5","async":"0.2.9"},"engines":["node"],"main":"./lib/cli.js","bin":{"architect-init":"./lib/cli.js"},"bugs":{"url":"https://github.com/leeroybrun/architect-app-init/issues"},"_id":"architect-init@0.1.3","dist":{"shasum":"04932aebc73f0f135586fe665c0da28c4c13144c","tarball":"https://registry.npmjs.org/architect-init/-/architect-init-0.1.3.tgz","integrity":"sha512-0PrnMr9oBpZdcW0l+rjFNvmV2prjBhVj41I1HNzH5ww7xMBZ+MDIy1fGNhnPwh116n5lBGOGeTqXurHcvkz1tg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCCkA+PrO1dTf69l03kQEnC+3vkTElZDMHNNg2Q5VZgIwIhAPQIRLdZJhCkuuwPDysc4n+RR8bEsDR8AKJEk/wa5lK1"}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"leeroy","email":"leeroy.brun@gmail.com"},"maintainers":[{"name":"leeroy","email":"leeroy.brun@gmail.com"}]},"0.1.4":{"name":"architect-init","preferGlobal":"true","version":"0.1.4","author":{"name":"Leeroy Brun","email":"leeroy.brun@gmail.com"},"description":"CLI tool to help you start a new Architect app by creating all the structure and main files.","repository":{"type":"git","url":"https://github.com/leeroybrun/architect-app-init.git"},"keywords":["architect","plugins","init","scaffold"],"license":"MIT","dependencies":{"prompt":"0.2.12","colors":"0.6.2","mkdirp":"0.3.5","async":"0.2.9"},"engines":["node"],"main":"./lib/cli.js","bin":{"architect-init":"./lib/cli.js"},"bugs":{"url":"https://github.com/leeroybrun/architect-app-init/issues"},"_id":"architect-init@0.1.4","dist":{"shasum":"8bd83eaf013f32647771305a7b23147b5d1120f1","tarball":"https://registry.npmjs.org/architect-init/-/architect-init-0.1.4.tgz","integrity":"sha512-EfXbt++0bcZnTEwDZjj3rmuKrEOMCIBLLo4sGrt+LIrM7+m/CnHpq++fnjEdjIAyqOshmKd4YJfIwF/SiIzclQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGqG1KdX4+FWs0c5yz10szLexaM6BqPCzL/fX9u+jUYsAiA2YESPoi1QUIQNdliLwq3Y1lwq7KSEjOjWzqAnWKVQgw=="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"leeroy","email":"leeroy.brun@gmail.com"},"maintainers":[{"name":"leeroy","email":"leeroy.brun@gmail.com"}]},"1.0.0":{"name":"architect-init","preferGlobal":"true","version":"1.0.0","author":{"name":"Leeroy Brun","email":"leeroy.brun@gmail.com"},"description":"CLI tool to help you start a new Architect app by creating all the structure and main files.","repository":{"type":"git","url":"https://github.com/leeroybrun/architect-app-init.git"},"keywords":["architect","plugins","init","scaffold"],"license":"MIT","dependencies":{"commander":"2.6.0","prompt":"0.2.12","colors":"0.6.2","mkdirp":"0.3.5","async":"0.2.9"},"engines":["node"],"main":"./bin/cli.js","bin":{"architect-init":"./bin/cli.js"},"bugs":{"url":"https://github.com/leeroybrun/architect-app-init/issues"},"_id":"architect-init@1.0.0","dist":{"shasum":"f1740b7f5503e593c3d93df6a8d5c1abcf24978d","tarball":"https://registry.npmjs.org/architect-init/-/architect-init-1.0.0.tgz","integrity":"sha512-b/BGoHeSQDvUL/qlXW5/f1Gi0fBEt1prhTX9fb7oJ9yKFLGNk+SVFnTvDZlFESmuZKBziyqLWu7C+Ynu0UrJsg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDYxM9RwTnSrzFX4J4+sfmGeVKgSHMZaTuZGu0p9Gr3ZgIgBuS0U7KhOz2mt+0dQ4x3bOfUtIbzPvBktFc4gwI3esE="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"leeroy","email":"leeroy.brun@gmail.com"},"maintainers":[{"name":"leeroy","email":"leeroy.brun@gmail.com"}]},"1.0.1":{"name":"architect-init","preferGlobal":"true","version":"1.0.1","author":{"name":"Leeroy Brun","email":"leeroy.brun@gmail.com"},"description":"CLI tool to help you start a new Architect app by creating all the structure and main files.","repository":{"type":"git","url":"https://github.com/leeroybrun/architect-app-init.git"},"keywords":["architect","plugins","init","scaffold"],"license":"MIT","dependencies":{"commander":"2.6.0","prompt":"0.2.12","colors":"0.6.2","mkdirp":"0.3.5","async":"0.2.9"},"engines":["node"],"main":"./bin/cli.js","bin":{"architect-init":"./bin/cli.js"},"bugs":{"url":"https://github.com/leeroybrun/architect-app-init/issues"},"_id":"architect-init@1.0.1","dist":{"shasum":"1c9d37c00bf5b167eaa2bc652d26378fef9921ca","tarball":"https://registry.npmjs.org/architect-init/-/architect-init-1.0.1.tgz","integrity":"sha512-AZCUlJLN7HbdzUm0zbhTsKSEf45RA+f2Y/1LaPX91HFBTRBYM9tx0skoVfwJJqnLDtj/IwL476e5D6gJKrnaTw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBpSUiacg7o+WbdCYV7e0ctrUYXaQvWtqcUWT/Ytu3gGAiBU4RjRcLqOMTpm0dgWalXsHwWQJZOdWOCLE3P0V2k5zg=="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"leeroy","email":"leeroy.brun@gmail.com"},"maintainers":[{"name":"leeroy","email":"leeroy.brun@gmail.com"}]},"1.0.2":{"name":"architect-init","preferGlobal":"true","version":"1.0.2","author":{"name":"Leeroy Brun","email":"leeroy.brun@gmail.com"},"description":"CLI tool to help you start a new Architect app by creating all the structure and main files.","repository":{"type":"git","url":"https://github.com/leeroybrun/architect-app-init.git"},"keywords":["architect","plugins","init","scaffold"],"license":"MIT","dependencies":{"commander":"2.6.0","prompt":"0.2.12","colors":"0.6.2","mkdirp":"0.3.5","async":"0.2.9"},"engines":["node"],"main":"./bin/cli.js","bin":{"architect-init":"./bin/cli.js"},"bugs":{"url":"https://github.com/leeroybrun/architect-app-init/issues"},"_id":"architect-init@1.0.2","dist":{"shasum":"55b98eb6901c64de1c01a3f59b0bba311eda3c85","tarball":"https://registry.npmjs.org/architect-init/-/architect-init-1.0.2.tgz","integrity":"sha512-Rx1xMyredjnRZfuJoLQVy24CyUtrkEVKhSdNpsoPHuq9ll+MJ+bHBr2vh9+Fun/XTdnEB4iIX1GfSRJnZdpC+w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFtEnl6+uzUiuZ1CQAl8g2e8547YFX0lWGMgqbcb+aO1AiEA3YM8GloshKBi3TxHJicsLF81V13bONDj6v1m249Ipm8="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"leeroy","email":"leeroy.brun@gmail.com"},"maintainers":[{"name":"leeroy","email":"leeroy.brun@gmail.com"}]}},"readme":"architect-init\n===============\n\nCLI tool to help you start a new [Architect](https://github.com/c9/architect) app by creating all the structure and main files of your plugins.\n\n## Install\n\n```shell\nnpm install -g architect-init\n```\n\n## Plugins\n\nBefore running `architect-init` you must create a config file containing your plugins list.\n\nIt's a simple text file with each plugins on a new line.\n\nExample :\n\n```plain\nfirstplugin\nfirstplugin.secondplugin\nthirdplugin\nthirdplugin/fourthplugin\n```\n\nWith default options (auto structure), this will create the following directory structure :\n\n```plain\nlib\n├─ firstplugin\n├─ firstplugin.secondplugin\n└─ thirdplugin\n    └─ fourthplugin\n```\n\n## Run\n\n### New project\n\n```shell\narchitect-init new\n```\n\nIt will then ask you the following questions :\n\n- **Where is stored your plugins list file ?**\n\n  Specify the path to your plugins list file created above. Default : plugins.conf\n\n- **Where do you want to store the plugins ?**\n\n  The directory where to store plugins.  Default : lib/\n\n- **Do you want sub or dotted dirs for plugins ?**\n  - **auto** : keep the structure of your plugins.conf file (default)\n  - **sub** : force subdirs for \"sub\" plugins\n  - **dotted** : force dotted dirs for \"sub\" plugins\n\n- **Create package.json file for each plugins (yes|no) ?**\n\n  Create a default package.json file in each of the created folders. Template of the package.json file is located in `tpl/package.json`. Default : yes\n\n- **Create main file for each plugins (yes|no) ?**\n\n  Create a main JS file in each of the created folders. Template of the main file is located in `tpl/main.js`. Default : yes\n\n- **Force the creation of files even if they exists (yes|no) ?**\n\n  Do you want to replace existing (package.json/main) files in directories ? Default : no\n\n### New plugin\n\n```shell\narchitect-init generate <pluginName>\n```\n\n## Directory structures\n\nHere is the final structure of plugins with options :\n\n### auto\n```plain\nlib\n├─ firstplugin\n├─ firstplugin.secondplugin\n└─ thirdplugin\n    └─ fourthplugin\n```\n\n### sub\n```plain\nlib\n├─ firstplugin\n│   └─ secondplugin\n└─ thirdplugin\n    └─ fourthplugin\n```\n\n### dotted\n```plain\nlib\n├─ firstplugin\n├─ firstplugin.secondplugin\n├─ thirdplugin\n└─ thirdplugin.fourthplugin\n```\n\n## TODO\n\n- Create tests\n\n## Licence\n\nThe MIT License (MIT)\n\nCopyright (c) 2013 Leeroy Brun\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the \"Software\"), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of\nthe Software, and to permit persons to whom the Software is furnished to do so,\nsubject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\nFOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\nCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","maintainers":[{"name":"leeroy","email":"leeroy.brun@gmail.com"}],"time":{"modified":"2022-06-13T03:21:42.927Z","created":"2013-12-18T11:13:57.764Z","0.1.0":"2013-12-18T11:14:02.231Z","0.1.1":"2013-12-18T11:23:06.013Z","0.1.2":"2013-12-18T11:25:47.280Z","0.1.3":"2013-12-18T11:31:00.794Z","0.1.4":"2013-12-18T12:45:58.660Z","1.0.0":"2015-01-26T18:45:25.132Z","1.0.1":"2015-01-26T19:36:10.035Z","1.0.2":"2015-01-26T19:38:03.842Z"},"author":{"name":"Leeroy Brun","email":"leeroy.brun@gmail.com"},"repository":{"type":"git","url":"https://github.com/leeroybrun/architect-app-init.git"},"keywords":["architect","plugins","init","scaffold"],"bugs":{"url":"https://github.com/leeroybrun/architect-app-init/issues"},"license":"MIT","readmeFilename":"README.md"}