{"_id":"@alleen/cli","_rev":"18-6853bb79903f460d841fa6516376596f","name":"@alleen/cli","dist-tags":{"latest":"1.0.1"},"versions":{"0.1.0":{"name":"@alleen/cli","version":"0.1.0","author":{"name":"OLIVIER ADOU"},"license":"ISC","_id":"@alleen/cli@0.1.0","maintainers":[{"name":"olivieradou","email":"adouolivier@outlook.com"}],"bin":{"alleen":"dist/bin/alleen.js"},"dist":{"shasum":"868aaf2213e3a82807a8ee27da0fc917b5b53671","tarball":"https://registry.npmjs.org/@alleen/cli/-/cli-0.1.0.tgz","fileCount":34,"integrity":"sha512-ciwajQ7PQNJsvp1NGe1ehen7uWONw/wFcWKwZ6UjJKSFCxclZ1mPEF1zGeAWFVqbZXYDBXmCLZgCLmTdr89r7w==","signatures":[{"sig":"MEYCIQDriKQPltqo6FbpF4IqSfNRdsGpK+g7Ox9CVaMlPsOv4QIhALe+syfTwzMCThDuFy3v4ivO7FPmTwxsEDv9CgT6TeSW","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":45753},"main":"./dist/index.js","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"scripts":{"dev":"ts-node src/bin/alleen.ts","build":"tsc"},"_npmUser":{"name":"olivieradou","email":"adouolivier@outlook.com"},"_npmVersion":"10.8.2","description":"CLI for alleen-api — manage multi-database Prisma setup","directories":{},"_nodeVersion":"18.20.8","dependencies":{"ora":"^8.0.0","chalk":"^5.3.0","commander":"^12.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.2","typescript":"^5.4.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/cli_0.1.0_1775407436729_0.7881006409550213","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@alleen/cli","version":"0.1.1","author":{"name":"OLIVIER ADOU"},"license":"ISC","_id":"@alleen/cli@0.1.1","maintainers":[{"name":"olivieradou","email":"adouolivier@outlook.com"}],"bin":{"alleen":"dist/bin/alleen.js"},"dist":{"shasum":"ed0740cd4c37ca90c31ad7354776dcb59246b6fd","tarball":"https://registry.npmjs.org/@alleen/cli/-/cli-0.1.1.tgz","fileCount":34,"integrity":"sha512-DJyWcrtRI7IL/q2hXEZInWhc6EPCvpN91isN4bX1Z9O0WohhSmI+YLbOfpgrjpGpS5EJgknu4F71ZzT6JB3rGQ==","signatures":[{"sig":"MEUCIQC6pDgcMU/6JwU5HpVUFDHITwMsfjJEWHD+bOMgblojdwIgbdI7DPdWrLrSAqsel8N1+YX9w5rXHxjFypdKFEZ8B7c=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":45754},"main":"./dist/index.js","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"scripts":{"dev":"ts-node src/bin/alleen.ts","build":"tsc"},"_npmUser":{"name":"olivieradou","email":"adouolivier@outlook.com"},"_npmVersion":"10.8.2","description":"CLI for alleen-api — manage multi-database Prisma setup","directories":{},"_nodeVersion":"18.20.8","dependencies":{"ora":"^5.4.1","chalk":"^4.1.2","commander":"^12.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.2","typescript":"^5.4.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/cli_0.1.1_1775425986311_0.6437880473529276","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@alleen/cli","version":"0.1.2","author":{"name":"OLIVIER ADOU"},"license":"ISC","_id":"@alleen/cli@0.1.2","maintainers":[{"name":"olivieradou","email":"adouolivier@outlook.com"}],"bin":{"alleen":"dist/bin/alleen.js"},"dist":{"shasum":"be340bd6a23a66c84923fc3d779ffd44a2a691a1","tarball":"https://registry.npmjs.org/@alleen/cli/-/cli-0.1.2.tgz","fileCount":34,"integrity":"sha512-79rIfMLbQUOHnG5s47DylP/oFYe8Zli98+DrY45sYw5FPtlTNHHni7IsBOHungW6hYCuFFvedwcjz3Wy71l4mw==","signatures":[{"sig":"MEUCIQCbpYKxljcv82Z+pSzkK5wEcqTOHMntNLON9P3DiMqxyAIgS+7oysKFerjzBU8xOnU87hIymJxDRPEYVWi08FBHVV0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":45757},"main":"./dist/index.js","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"scripts":{"dev":"ts-node src/bin/alleen.ts","build":"tsc"},"_npmUser":{"name":"olivieradou","email":"adouolivier@outlook.com"},"_npmVersion":"10.8.2","description":"CLI for alleen-api — manage multi-database Prisma setup","directories":{},"_nodeVersion":"18.20.8","dependencies":{"ora":"^5.4.1","chalk":"^4.1.2","commander":"^12.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.2","typescript":"^5.4.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/cli_0.1.2_1775428806184_0.20533818850906727","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@alleen/cli","version":"0.1.3","author":{"name":"OLIVIER ADOU"},"license":"ISC","_id":"@alleen/cli@0.1.3","maintainers":[{"name":"olivieradou","email":"adouolivier@outlook.com"}],"bin":{"alleen":"dist/bin/alleen.js"},"dist":{"shasum":"824d7a6456a1b2a2079bf437d8a388051ef092f8","tarball":"https://registry.npmjs.org/@alleen/cli/-/cli-0.1.3.tgz","fileCount":46,"integrity":"sha512-xNnAipuMujLoVwyQTorBflD3O2S/cTQmgvir9MVSvHEO+SEpugnljWqe/B2wyxJctTlMp1kPzPOCn1cYjbaD7g==","signatures":[{"sig":"MEUCIHZhGYiFpqPFGtVRSkWnJChT0pNwzxUPJPCJxO1xCAY5AiEA51bgIR0yeG/ce3uC/3wRlTvKTD3BOtCo48gerndQ/+o=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":68111},"main":"./dist/index.js","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"scripts":{"dev":"ts-node src/bin/alleen.ts","build":"tsc"},"_npmUser":{"name":"olivieradou","email":"adouolivier@outlook.com"},"_npmVersion":"10.8.2","description":"CLI for alleen-api — manage multi-database Prisma setup","directories":{},"_nodeVersion":"18.20.8","dependencies":{"ora":"^5.4.1","chalk":"^4.1.2","execa":"^9.6.1","commander":"^12.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.2","typescript":"^5.4.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/cli_0.1.3_1775471238356_0.1431995388366678","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@alleen/cli","version":"0.1.4","author":{"name":"OLIVIER ADOU"},"license":"ISC","_id":"@alleen/cli@0.1.4","maintainers":[{"name":"olivieradou","email":"adouolivier@outlook.com"}],"bin":{"alleen":"dist/bin/alleen.js"},"dist":{"shasum":"3b5567e07785904f8a690aae366f686e3b0509b4","tarball":"https://registry.npmjs.org/@alleen/cli/-/cli-0.1.4.tgz","fileCount":46,"integrity":"sha512-6LoXuLL5ISZL+6wY5yGztTtnN3l29w1fDn/xenDIdgfvo6VPz5Ci7XLAIOj/DvgjQZcTl4gCHFluv7XbSku9VA==","signatures":[{"sig":"MEQCIBJk7OfFlsWL1kLpM7FVFHhTsHdHw6An5cF9X7Db8dTkAiBtI8mKFuoi+p0MNSDF8DeFBsHLtXL0jDExQ7YDJNZy3A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":68188},"main":"./dist/index.js","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"scripts":{"dev":"ts-node src/bin/alleen.ts","build":"tsc"},"_npmUser":{"name":"olivieradou","email":"adouolivier@outlook.com"},"_npmVersion":"10.8.2","description":"CLI for alleen-api — manage multi-database Prisma setup","directories":{},"_nodeVersion":"18.20.8","dependencies":{"ora":"^5.4.1","chalk":"^4.1.2","execa":"^9.6.1","commander":"^12.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.2","typescript":"^5.4.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/cli_0.1.4_1775472022904_0.18557931116215753","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"@alleen/cli","version":"0.1.5","author":{"name":"OLIVIER ADOU"},"license":"ISC","_id":"@alleen/cli@0.1.5","maintainers":[{"name":"olivieradou","email":"adouolivier@outlook.com"}],"bin":{"alleen":"dist/bin/alleen.js"},"dist":{"shasum":"0a7d5d7cb9e19eaf5272790765ea0d3da32f2b6e","tarball":"https://registry.npmjs.org/@alleen/cli/-/cli-0.1.5.tgz","fileCount":46,"integrity":"sha512-Mr/5xWRYBQ7BgvNc6iyik0wQTrntphpFlLodAI0Puxu/NPixWV3M0o7lgEYk2jf4R2e3HaqBb4c0rIOPzhzXjQ==","signatures":[{"sig":"MEUCIHc0bExHRomUlskvFEY2pTn1cKA0NBfhQiXlamEKPH89AiEAnhuf1FKbkm0wLKA4pgu36/bd+WcsDgk+/PtIGXacmHs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":68258},"main":"./dist/index.js","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"scripts":{"dev":"ts-node src/bin/alleen.ts","build":"tsc"},"_npmUser":{"name":"olivieradou","email":"adouolivier@outlook.com"},"_npmVersion":"10.8.2","description":"CLI for alleen-api — manage multi-database Prisma setup","directories":{},"_nodeVersion":"18.20.8","dependencies":{"ora":"^5.4.1","chalk":"^4.1.2","execa":"^9.6.1","commander":"^12.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.2","typescript":"^5.4.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/cli_0.1.5_1775472293987_0.6477299487560353","host":"s3://npm-registry-packages-npm-production"}},"0.1.6":{"name":"@alleen/cli","version":"0.1.6","author":{"name":"OLIVIER ADOU"},"license":"ISC","_id":"@alleen/cli@0.1.6","maintainers":[{"name":"olivieradou","email":"adouolivier@outlook.com"}],"bin":{"alleen":"dist/bin/alleen.js"},"dist":{"shasum":"0e17dd5d9a779dd7affb097fcf05c1d6c6592fdc","tarball":"https://registry.npmjs.org/@alleen/cli/-/cli-0.1.6.tgz","fileCount":46,"integrity":"sha512-XPAjrnujs4Y4s2QBrSwZeugjcqoOPwwLu1g27vy0uroML5eOzgadcnot45h/1cKgjcZghvhvMRO0ckxsCclRWg==","signatures":[{"sig":"MEUCIQCoiSguKS7BqopFSOer5VPnFny9BhXukujQhEB5nf4OSAIgXzlArjKFJwSVyneQxMORqnEE5EJKJBnsTXML3Lmwo2s=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":68073},"main":"./dist/index.js","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"scripts":{"dev":"ts-node src/bin/alleen.ts","build":"tsc"},"_npmUser":{"name":"olivieradou","email":"adouolivier@outlook.com"},"_npmVersion":"10.8.2","description":"CLI for alleen-api — manage multi-database Prisma setup","directories":{},"_nodeVersion":"18.20.8","dependencies":{"ora":"^5.4.1","chalk":"^4.1.2","commander":"^12.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.2","typescript":"^5.4.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/cli_0.1.6_1775472608904_0.5654650371264016","host":"s3://npm-registry-packages-npm-production"}},"0.1.7":{"name":"@alleen/cli","version":"0.1.7","author":{"name":"OLIVIER ADOU"},"license":"ISC","_id":"@alleen/cli@0.1.7","maintainers":[{"name":"olivieradou","email":"adouolivier@outlook.com"}],"bin":{"alleen":"dist/bin/alleen.js"},"dist":{"shasum":"abf18432946d7bed2914ffaf1e4d49d774b1fe6e","tarball":"https://registry.npmjs.org/@alleen/cli/-/cli-0.1.7.tgz","fileCount":50,"integrity":"sha512-fda+hWHSzy8UsoGWofteRa34I/IZ9lrPLPUCsGxNBM7DqPsClN2Geb9hvVLtAv1ZkdjBUSMwRvgqbOSE/uyVpw==","signatures":[{"sig":"MEUCICYrlXgAQN6PuujlvCdevJZnwA3mw0IFHAqx22PcLKsmAiEAwVJJKSSlwuwofRlzhCRRG6ggdHs/N5cWMuExHXy0Mdo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":69643},"main":"./dist/index.js","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"scripts":{"dev":"ts-node src/bin/alleen.ts","build":"tsc"},"_npmUser":{"name":"olivieradou","email":"adouolivier@outlook.com"},"_npmVersion":"10.8.2","description":"CLI for alleen-api — manage multi-database Prisma setup","directories":{},"_nodeVersion":"18.20.8","dependencies":{"ora":"^5.4.1","chalk":"^4.1.2","commander":"^12.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.2","typescript":"^5.4.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/cli_0.1.7_1775475597785_0.5421270212980893","host":"s3://npm-registry-packages-npm-production"}},"0.1.8":{"name":"@alleen/cli","version":"0.1.8","author":{"name":"OLIVIER ADOU"},"license":"ISC","_id":"@alleen/cli@0.1.8","maintainers":[{"name":"olivieradou","email":"adouolivier@outlook.com"}],"bin":{"alleen":"dist/bin/alleen.js"},"dist":{"shasum":"f17c567464b70e845515c267952d869452f2ca5b","tarball":"https://registry.npmjs.org/@alleen/cli/-/cli-0.1.8.tgz","fileCount":50,"integrity":"sha512-Kk1JbP8ufbVNgFW/4LvaUoe9j4b5tqiKVzIEjjcYIS81ckw71UGHmtCLgM6Pb72ppu0N3ZpncfoiFO1oVAQfdw==","signatures":[{"sig":"MEQCIA0ehOXvO9vCPrGNQeEQiBDePrCzz4jse1jD+HJBlXGxAiBB+7XkHCRH4xbsQJ32mevMiQFQvNmYuqeWOmMdiHl+LA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":69644},"main":"./dist/index.js","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"scripts":{"dev":"ts-node src/bin/alleen.ts","build":"tsc"},"_npmUser":{"name":"olivieradou","email":"adouolivier@outlook.com"},"_npmVersion":"10.8.2","description":"CLI for alleen-api — manage multi-database Prisma setup","directories":{},"_nodeVersion":"18.20.8","dependencies":{"ora":"^5.4.1","chalk":"^4.1.2","commander":"^12.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.2","typescript":"^5.4.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/cli_0.1.8_1775477233398_0.8379899017054857","host":"s3://npm-registry-packages-npm-production"}},"0.1.9":{"name":"@alleen/cli","version":"0.1.9","author":{"name":"OLIVIER ADOU"},"license":"ISC","_id":"@alleen/cli@0.1.9","maintainers":[{"name":"olivieradou","email":"adouolivier@outlook.com"}],"bin":{"alleen":"dist/bin/alleen.js"},"dist":{"shasum":"2dc955775df82ea54aee31d03415bd4a8e96e752","tarball":"https://registry.npmjs.org/@alleen/cli/-/cli-0.1.9.tgz","fileCount":50,"integrity":"sha512-rx5Nn0cJGB5cOK5HDO8wwnDWQ9wE1YZNG6fgXicJdRWrM79kUuuis1vUcJDn+BsEzJ5V/V4WPTCDNVNcnzkszw==","signatures":[{"sig":"MEUCIHmngOCFv85YLcNri2vp2qf773QRHGyGY8BuEssw7ib2AiEAsHc4xxZ5Mo2R42SHooGPm/JkvcSZLeMNw/VbsOM20ic=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":69599},"main":"./dist/index.js","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"scripts":{"dev":"ts-node src/bin/alleen.ts","build":"tsc"},"_npmUser":{"name":"olivieradou","email":"adouolivier@outlook.com"},"_npmVersion":"10.8.2","description":"CLI for alleen-api — manage multi-database Prisma setup","directories":{},"_nodeVersion":"18.20.8","dependencies":{"ora":"^5.4.1","chalk":"^4.1.2","commander":"^12.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.2","typescript":"^5.4.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/cli_0.1.9_1775477691645_0.9179033461118924","host":"s3://npm-registry-packages-npm-production"}},"0.1.10":{"name":"@alleen/cli","version":"0.1.10","author":{"name":"OLIVIER ADOU"},"license":"ISC","_id":"@alleen/cli@0.1.10","maintainers":[{"name":"olivieradou","email":"adouolivier@outlook.com"}],"bin":{"alleen":"dist/bin/alleen.js"},"dist":{"shasum":"459aeddbc24c0d79ece209c7c2c2cd2183073122","tarball":"https://registry.npmjs.org/@alleen/cli/-/cli-0.1.10.tgz","fileCount":50,"integrity":"sha512-SBJBjGvttlZlVCALISeSXWsQdQJ7idZCM/EwCEu6X5gFbMk76XFS0+5KpC//UmOY0EHVIjI8jDEk8Ke7n+7cDw==","signatures":[{"sig":"MEUCIQC6AINofTNDfWyzx5T+53Zgr/LYp7dpL0GLkZXBoEygugIgNaPilVqVKmN5O/o5n97dLjrxmSmqLWd16O4E/hifU+U=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":69601},"main":"./dist/index.js","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"scripts":{"dev":"ts-node src/bin/alleen.ts","build":"tsc"},"_npmUser":{"name":"olivieradou","email":"adouolivier@outlook.com"},"_npmVersion":"10.8.2","description":"CLI for alleen-api — manage multi-database Prisma setup","directories":{},"_nodeVersion":"18.20.8","dependencies":{"ora":"^5.4.1","chalk":"^4.1.2","commander":"^12.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.2","typescript":"^5.4.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/cli_0.1.10_1775478515311_0.22131663707983784","host":"s3://npm-registry-packages-npm-production"}},"0.1.11":{"name":"@alleen/cli","version":"0.1.11","author":{"name":"OLIVIER ADOU"},"license":"ISC","_id":"@alleen/cli@0.1.11","maintainers":[{"name":"olivieradou","email":"adouolivier@outlook.com"}],"bin":{"alleen":"dist/bin/alleen.js"},"dist":{"shasum":"1fbe300c8e3d2b1fb213d2e70edeed4c98db52de","tarball":"https://registry.npmjs.org/@alleen/cli/-/cli-0.1.11.tgz","fileCount":50,"integrity":"sha512-YWZpEIe63GTrK9w9ZSQYGB+QfCgKF7ZvJa3HZh8GJvDP8vVFIV+caLskTlvJjpF1qsvZgcq/To1/DDztOlfYKA==","signatures":[{"sig":"MEYCIQCcs1sQoF3YqzFfYDo5sd7L0Uaiq8IoK2vDf0FVcsc1ygIhAPZxrNzkHthkoKl0qTxfsROrdCSaPyczMpSI1N6hRCpS","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":73313},"main":"./dist/index.js","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"scripts":{"dev":"ts-node src/bin/alleen.ts","build":"tsc"},"_npmUser":{"name":"olivieradou","email":"adouolivier@outlook.com"},"_npmVersion":"10.8.2","description":"CLI for alleen-api — manage multi-database Prisma setup","directories":{},"_nodeVersion":"18.20.8","dependencies":{"ora":"^5.4.1","chalk":"^4.1.2","commander":"^12.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.2","typescript":"^5.4.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/cli_0.1.11_1775479747300_0.7120786930960064","host":"s3://npm-registry-packages-npm-production"}},"0.1.12":{"name":"@alleen/cli","version":"0.1.12","author":{"name":"OLIVIER ADOU"},"license":"ISC","_id":"@alleen/cli@0.1.12","maintainers":[{"name":"olivieradou","email":"adouolivier@outlook.com"}],"bin":{"alleen":"dist/bin/alleen.js"},"dist":{"shasum":"2a63433f4c7a61d08cdfdd949b1031dab6a4497e","tarball":"https://registry.npmjs.org/@alleen/cli/-/cli-0.1.12.tgz","fileCount":50,"integrity":"sha512-Sj0LxPKU5fdW7L+fJDNb6zizvpQrF/FC7qZZJzvgF1N4KK8LVZ/ze/hKaXJF8swt0sOHsKmb30f1zfC+VehJPQ==","signatures":[{"sig":"MEQCIBlkE4BB7V/pNwPOydjK5TU7n4GaFRyKipSMAID2mQd4AiAkTLf93iPClQBrCLNt3OlqEz+5cy/F8q9lxwghHBZabA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":73200},"main":"./dist/index.js","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"scripts":{"dev":"ts-node src/bin/alleen.ts","build":"tsc"},"_npmUser":{"name":"olivieradou","email":"adouolivier@outlook.com"},"_npmVersion":"10.8.2","description":"CLI for alleen-api — manage multi-database Prisma setup","directories":{},"_nodeVersion":"18.20.8","dependencies":{"ora":"^5.4.1","chalk":"^4.1.2","commander":"^12.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.2","typescript":"^5.4.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/cli_0.1.12_1775479889377_0.7965835250328328","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@alleen/cli","version":"1.0.1","description":"CLI for alleen-api — manage multi-database Prisma setup","bin":{"alleen":"dist/bin/alleen.js"},"publishConfig":{"access":"public"},"main":"./dist/index.js","types":"./dist/index.d.ts","scripts":{"build":"tsc","dev":"ts-node src/bin/alleen.ts"},"dependencies":{"chalk":"^4.1.2","commander":"^12.0.0","ora":"^5.4.1"},"devDependencies":{"@types/node":"^20.0.0","ts-node":"^10.9.2","typescript":"^5.4.0"},"engines":{"node":">=18.0.0"},"author":{"name":"OLIVIER ADOU"},"license":"ISC","_id":"@alleen/cli@1.0.1","gitHead":"ccaa0585784198e1cf229391bf427e328398c6bb","_nodeVersion":"18.20.8","_npmVersion":"10.8.2","dist":{"integrity":"sha512-Y92J2broNRuuGqRVzK+TSmSy2oFwYo+WSFrVZjM/SrIQgRZq4hmpocK2XMvPJpWhTpxrfXjf0Vz7K8cK/kcUzw==","shasum":"ae7963a10b5080b6d0b1f19ad0460714fec6aebb","tarball":"https://registry.npmjs.org/@alleen/cli/-/cli-1.0.1.tgz","fileCount":50,"unpackedSize":73497,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDAhDpKf6352w8+S2dlWOwgZDh7P7HqpQyhab0+2W4B7AIhAPd4QErECqlILjknQxAEKDTO5XX8JF8BSeqSxiS8GKE0"}]},"_npmUser":{"name":"olivieradou","email":"adouolivier@outlook.com"},"directories":{},"maintainers":[{"name":"olivieradou","email":"adouolivier@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/cli_1.0.1_1775517287589_0.22568082846349058"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-05T16:43:56.615Z","modified":"2026-04-06T23:14:47.878Z","0.1.0":"2026-04-05T16:43:56.871Z","0.1.1":"2026-04-05T21:53:06.470Z","0.1.2":"2026-04-05T22:40:06.344Z","0.1.3":"2026-04-06T10:27:18.505Z","0.1.4":"2026-04-06T10:40:23.033Z","0.1.5":"2026-04-06T10:44:54.130Z","0.1.6":"2026-04-06T10:50:09.084Z","0.1.7":"2026-04-06T11:39:57.957Z","0.1.8":"2026-04-06T12:07:13.564Z","0.1.9":"2026-04-06T12:14:51.860Z","0.1.10":"2026-04-06T12:28:35.460Z","0.1.11":"2026-04-06T12:49:07.459Z","0.1.12":"2026-04-06T12:51:29.525Z","2.0.0":"2026-04-06T22:55:52.227Z","1.0.0":"2026-04-06T23:02:08.995Z","1.0.1":"2026-04-06T23:14:47.729Z"},"author":{"name":"OLIVIER ADOU"},"license":"ISC","description":"CLI for alleen-api — manage multi-database Prisma setup","maintainers":[{"name":"olivieradou","email":"adouolivier@outlook.com"}],"readme":"# @alleen/cli\n\n> ⚠️ **Important**\n>\n> This package cannot function on its own.  \n> It is designed as a required dependency for **alleen** to work properly within a project.\n>\n> 👉 To correctly initialize a compatible project, use the official repository:  \n> https://github.com/olivierAdou/alleen-api.git\n\n\n> CLI for **alleen-api** — Manage multi-database Prisma setup with a single command.\n\n---\n\n## Installation\n\n```bash\nnpm install @alleen/cli --save-dev\n```\n\nOr use directly via npx:\n\n```bash\nnpx alleen db:add --name=phoenix --url=postgresql://...\n```\n\n---\n\n## Commands\n\n### `alleen db:add`\nAdd a new database. Generates **everything** automatically:\n\n```bash\nalleen db:add --name=phoenix --url=postgresql://user:pass@host/dbname\n```\n\n**What it generates:**\n```\n✅  prisma/phoenix/schema.prisma         ← ready to add your models\n✅  src/prisma/phoenix.service.ts        ← NestJS PrismaService\n✅  .env                                 ← DATABASE_PHOENIX_URL added\n✅  src/prisma/prisma.registry.ts        ← auto-updated, no manual switch needed\n```\n\nOptions:\n| Option | Description | Default |\n|---|---|---|\n| `--name` | Database name *(required)* | — |\n| `--url` | Connection URL *(required)* | — |\n| `--provider` | DB provider | `postgresql` |\n\nSupported providers: `postgresql`, `mysql`, `sqlite`, `sqlserver`, `mongodb`\n\n---\n\n### `alleen db:remove`\nRemove a database and clean up all generated files:\n\n```bash\nalleen db:remove --name=phoenix\n```\n\n**What it removes:**\n```\n🗑️  src/prisma/phoenix.service.ts\n🗑️  prisma/phoenix/\n🗑️  DATABASE_PHOENIX_URL from .env\n✅  src/prisma/prisma.registry.ts regenerated\n```\n\n---\n\n### `alleen db:list`\nList all registered databases with their status:\n\n```bash\nalleen db:list\n```\n\n```\n🗄️  alleen db:list — Registered databases\n\n   1. phoenix              ✅ .env   ✅ schema\n   2. bulk                 ✅ .env   ✅ schema\n   3. finance              ✅ .env   ❌ schema missing\n\n  Total: 3 database(s)\n```\n\n---\n\n### `alleen db:generate`\nRegenerate the registry from existing service files.  \nUseful after cloning the project or manually adding files:\n\n```bash\nalleen db:generate\n```\n\n---\n\n## How it works\n\nInstead of maintaining a manual switch statement:\n\n```ts\n// ❌ Before — manual, breaks every time you add a DB\nswitch (database) {\n  case 'phoenix': dbInstance = this.phoenixPrismaService; break;\n  case 'bulk':    dbInstance = this.bulkPrismaService; break;\n  // ... forever\n}\n```\n\n`@alleen/cli` auto-generates a registry:\n\n```ts\n// ✅ After — auto-generated, never touch it manually\n// src/prisma/prisma.registry.ts\n\nimport { PhoenixPrismaService } from './phoenix.service';\nimport { BulkPrismaService }    from './bulk.service';\n\nexport const PRISMA_REGISTRY = {\n  'phoenix': PhoenixPrismaService,\n  'bulk':    BulkPrismaService,\n};\n```\n\nAnd your service becomes 3 lines:\n\n```ts\nconst ServiceClass = PRISMA_REGISTRY[database];\nif (!ServiceClass) throw new Error(`Database \"${database}\" not found`);\nconst dbInstance = this.moduleRef.get(ServiceClass, { strict: false });\n```\n\n---\n\n## After adding a database\n\n```bash\n# 1. Add your models in prisma/phoenix/schema.prisma\n# 2. Generate the Prisma client\nnpx prisma generate --schema=prisma/phoenix/schema.prisma\n\n# 3. Run migrations\nnpx prisma migrate dev --schema=prisma/phoenix/schema.prisma\n```\n\n---\n\n## License\n\nMIT © olivier adou","readmeFilename":"README.md"}