{"_id":"@24hr/block-cli","_rev":"20-c7b42284fdc88da5de0419cd5baa0cac","name":"@24hr/block-cli","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"@24hr/block-cli","version":"1.0.0","author":{"name":"Marcus Thelin"},"license":"ISC","_id":"@24hr/block-cli@1.0.0","maintainers":[{"name":"bextex","email":"r.sarvegard@gmail.com"},{"name":"insidenpm","email":"peterlarssonsmail@gmail.com"},{"name":"alexander-nilsson","email":"alexander.nilsson83@gmail.com"},{"name":"camilo.tapia","email":"camilo.tapia@gmail.com"},{"name":"marcusthelin","email":"marcusthelin97@gmail.com"},{"name":"24hr-machine-user","email":"services@24hr.se"}],"bin":{"block-cli":"src/index.js"},"dist":{"shasum":"cc526417c80ddc9057d9d3b859550351a4b36681","tarball":"https://registry.npmjs.org/@24hr/block-cli/-/block-cli-1.0.0.tgz","fileCount":9,"integrity":"sha512-lqQjbOoLZoy3MvPW2Jt5r7xV2inOolLXuEMEbfAEBtP6ttQnzrFZabiFbBIV0Las33/A+UP3/vs7LuaInirCsg==","signatures":[{"sig":"MEYCIQCWoNEqbjjhEL3A8cJgrrK6+N+El/0f8ufmIZN+zMypGQIhALoVD6FqzgfJCoWAexMIUInhaq+ki1CczZ6JJHBENILL","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5179,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgnGD7CRA9TVsSAnZWagAAifUP/0p8IXiU2RqKUrkux1ge\nZtpVIeSRiUCTPx5f3WpGzjmIiN6KbKTiRPBIRjnCOAI543T3ZBKaDTlJNxQg\n87nSZxhk1V1a9yo9WzyLiNemGuEFnUKhz8vbJNsMr4r8PrZ9Ny6NVlsdg2fd\nE7/+cTITt0bGKig567XonUhOuIr0XtpghoRccADVR/vJT52GaKucRoZ3DEL0\nhVJ8SAevKaEXK098ATf0JRb4CaFXJN0XS+1hDFllso10erKoO+KtNSNQzg7Z\n8g3AchUtWJRH7Ukll5yjy1QpWAuVCsbkoEuDpTVaOmrw6lAaHPIR4epGWQBZ\nDzTYm1seVowFVBDzIco7wZvFI2ocp/R2RqikTG3HKVIXmS+QIWcVZOKiwzoo\n1pagOo2I/rbXBLCxWJ583rG0vGU2SSMOgdMQiJn5cm5CykHOQooekOqv1UHx\ny/L51SANdrcSEmpNQdeSZQA8zBQBYyvFXKCvO3SSLTByA+gAOIWzOccq3wjK\n4mlLVyWtfvql3ksPIrmNws7kufcM9e+EsBPaA9XYdoTuXsfcSMkUDaTuGzJt\nABgxQRlHJ02g6H9M2nzwhTxPDP01ayDjFhG6fxfd1pDE8ErWEO6+8qAnc7nm\nbDIc8MNRSWyd2TY3muqzIbnybdVs3KHSRyxA3eI153zGY8V2lC1AVXEh16Su\nXS9N\r\n=YhIx\r\n-----END PGP SIGNATURE-----\r\n"},"main":"src/index.js","gitHead":"e19eb1ec3187886d672b621b782f059a5d1a7887","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"marcusthelin","email":"marcusthelin97@gmail.com"},"repository":{"url":"https://gitlab.24hr.se/marcus/gutenberg-file-generator","type":"git"},"_npmVersion":"6.14.5","description":"Generates block files","directories":{},"_nodeVersion":"14.5.0","dependencies":{"ora":"^5.4.0","boxen":"^5.0.1","yargs":"^17.0.1","fs-extra":"^10.0.0","camelcase":"^6.2.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/block-cli_1.0.0_1620861176938_0.47944731054236533","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@24hr/block-cli","version":"1.0.1","author":{"name":"Marcus Thelin"},"license":"ISC","_id":"@24hr/block-cli@1.0.1","maintainers":[{"name":"bextex","email":"r.sarvegard@gmail.com"},{"name":"insidenpm","email":"peterlarssonsmail@gmail.com"},{"name":"alexander-nilsson","email":"alexander.nilsson83@gmail.com"},{"name":"camilo.tapia","email":"camilo.tapia@gmail.com"},{"name":"marcusthelin","email":"marcusthelin97@gmail.com"},{"name":"24hr-machine-user","email":"services@24hr.se"}],"bin":{"block-cli":"src/index.js"},"dist":{"shasum":"6bc5813ed53843b0cbb0aceedce5121e8180de44","tarball":"https://registry.npmjs.org/@24hr/block-cli/-/block-cli-1.0.1.tgz","fileCount":10,"integrity":"sha512-4T8/h/qrf5OGjWh+jy/MM3FuT1UkkViGN/Xjdh3Bwx9pMge9xwvCq2Yzqva84CR3ZOEDWBSvZIttVfifdQpLuA==","signatures":[{"sig":"MEUCIBFFDhuhobLC0YYPelYuj64iZyQLWNUQPYsLS0v5lEruAiEAyiR+Lr9p4Hpnguv6qzp8ir+2+sY6Na10BoJ8ZpCBDcc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6180,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgnGNGCRA9TVsSAnZWagAAYXQP/iJl1cDCd5zvYART/jmv\nhLFY7yp7ynaTHfaLrtjpZ7m58GIdr/2Vb4mIy4jLV4Kx3uPMWc93gxXGXgmU\nJMi1MxrGfIIJoBIcX04mac/pdBRZl4DUT2Hhi4gHAGCk7f2uh2rBSQMX5sR6\niwzlYe0lp5OWcZY0xk+ZGT1bjXVluUyJnm+km4VR+7Zs9o2yXzj8qkt5gEOD\nBxU74tatZyxBs4FntSSWp+GW8UwFKX12NSQQgOgkYsK8T/qJLLCieTCr6e2v\nWDx9BMqvRhoyQ0xnLR8YoimTpVocLXK+E+c+KKqelp7VVu6LLsQFZWqES8D/\nWfLzh+ifB+o25bww5yaK6V+yEr97kCde//Jgi2ubDFiLT+r8QUvVbmkBjj6o\nd+1k174SFl2FtLlgy3CpHCVWGlKjwMiNv9FWxOVabAI5AF62xIku437DjMcS\nsaHrAx5y4rw1vOUSo8MTp/R/NiYw7IThPY0KjikUFPC5bBMax35hY3VmA81h\nbeQFjgB0F/MUIa/LCtVca6XnK8+nVrZpw7rl9pZzLFeLzMLqHJbwEmODMReu\n73Q0kf5fbGcetfnWKFsXmdS1/Ipu2OKyFP0Dg5N1jMtnk7ZMsgZYDpW4ZSqG\n0S3HkIIT8SWhqmtZnGlgu70QCy8+50iA5dXUU4/KzbfRatTyH4s0aO0kjU+O\nAjeX\r\n=3ZX+\r\n-----END PGP SIGNATURE-----\r\n"},"main":"src/index.js","gitHead":"90021f695bcc1327fc3f2178ee0b1c70a27933b3","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"marcusthelin","email":"marcusthelin97@gmail.com"},"repository":{"url":"https://gitlab.24hr.se/marcus/gutenberg-file-generator","type":"git"},"_npmVersion":"6.14.5","description":"Generates block files","directories":{},"_nodeVersion":"14.5.0","dependencies":{"ora":"^5.4.0","boxen":"^5.0.1","yargs":"^17.0.1","fs-extra":"^10.0.0","camelcase":"^6.2.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/block-cli_1.0.1_1620861765697_0.4372315012691885","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@24hr/block-cli","version":"1.0.2","author":{"name":"Marcus Thelin"},"license":"ISC","_id":"@24hr/block-cli@1.0.2","maintainers":[{"name":"alexander-nilsson","email":"alexander.nilsson83@gmail.com"},{"name":"camilo.tapia","email":"camilo.tapia@gmail.com"},{"name":"marcusthelin","email":"marcusthelin97@gmail.com"},{"name":"24hr-machine-user","email":"services@24hr.se"},{"name":"insidenpm","email":"peterlarssonsmail@gmail.com"},{"name":"bextex","email":"r.sarvegard@gmail.com"},{"name":"antonjohansson24hr","email":"anton.johansson@24hr.se"}],"bin":{"block-cli":"src/index.js"},"dist":{"shasum":"484fe12914d6b0b89dc6bfd2e8334ee415b00291","tarball":"https://registry.npmjs.org/@24hr/block-cli/-/block-cli-1.0.2.tgz","fileCount":10,"integrity":"sha512-gL4t2gb8Uz/Uhw3862o3BIXXjq5XF4kCUug1rzZJ67rkrTf6bkPeqkTlmphBcc9qE7C9zsebuE7n9Vxvvvnhlg==","signatures":[{"sig":"MEYCIQD9G3z22r1OnsB9RmqdxUT0Vae9aLBNvWo/4QTyowReZAIhAJsBFpwA8XKGC8z9bp7Fa8Ilnf96BIXrKe2wpmsu1f59","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6148,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhH5ysCRA9TVsSAnZWagAAgXEP/Aq3ZzMThUudXAGVvXXi\noByG/K4r/w+5+7DJvD6ru480C5nxJlhoL4tySMT35icx5Iq8jWTS4luzat/5\nvPZzLTyo86/biO497z8OJNW8nLrx4FUTKgmxOBpWb0pgZix9DPemYk3D/fnD\nMdjU4jImrQwx4k54hleObc0vU9qcDyjIeBPrjMZCU7Ab+1HKm3mIivOKg7D/\nW3ujSV1rmbvOnoVHyKYMba2X/pVHZ6SI0URLKvigBJZyHAAXMIBq4VRISax1\nlo23K+9EHmBtlWL4lsnpX38JY6s9EJKiAaSPo56d6HcEMJtJdP/UtEUT56Yy\nUEnr75WdJ2G44fcO6sscTa0vsyMOOunt1IJLEgRS/jnqsgBspclv+4jIpvAe\nLGCUecPkFxd1If9GkfjU7+Ja56VIMxCZNRwiYw971kOJjLrh9DC/OGrcj9fD\n1muO+UM3BFZSs2UWgwUmdRHmUWLZIHF04GrevWr27hOYUFbP0YTBXJJfkvyh\ndfqSguwitZMIjfxXRs4BXbOjMJJ3ywPuDLf3Uvgr/B3eYyeTbPqQv6oo1WJn\nRcoEfRuBuKwJfWZoaPPialJYDIM3ltb2jA4pKcTUMyWXP2vgsk+JpU4fZAlK\nY8xUo4Dfb9MlyLx7ugx/uxJ4jRzS8wmt+xKvwIwXLQHvFMEwcmPCYjd50X7t\nq/a3\r\n=Tg6E\r\n-----END PGP SIGNATURE-----\r\n"},"main":"src/index.js","gitHead":"8de2dbee9f4e06f7c991d90e0499664ec13f46be","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"marcusthelin","email":"marcusthelin97@gmail.com"},"repository":{"url":"https://gitlab.24hr.se/marcus/gutenberg-file-generator","type":"git"},"_npmVersion":"7.20.6","description":"Generates block files","directories":{},"_nodeVersion":"14.5.0","dependencies":{"ora":"^5.4.0","boxen":"^5.0.1","yargs":"^17.0.1","fs-extra":"^10.0.0","camelcase":"^6.2.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/block-cli_1.0.2_1629461676361_0.8171510453073527","host":"s3://npm-registry-packages"}}},"time":{"created":"2021-05-12T23:12:56.937Z","modified":"2026-08-18T09:12:32.686Z","1.0.0":"2021-05-12T23:12:57.079Z","1.0.1":"2021-05-12T23:22:45.856Z","1.0.2":"2021-08-20T12:14:36.497Z"},"author":{"name":"Marcus Thelin"},"license":"ISC","repository":{"url":"https://gitlab.24hr.se/marcus/gutenberg-file-generator","type":"git"},"description":"Generates block files","maintainers":[{"email":"alexander.nilsson83@gmail.com","name":"alexander-nilsson"},{"email":"camilo.tapia@gmail.com","name":"camilo.tapia"},{"email":"services@24hr.se","name":"24hr-machine-user"},{"email":"peterlarssonsmail@gmail.com","name":"insidenpm"},{"email":"me@fearswe.net","name":"thjo"},{"email":"r.sarvegard@gmail.com","name":"bextex"},{"email":"mikaela.ruden@24hr.se","name":"mikaela.ruden"},{"email":"simon.sporrong@24hr.se","name":"simon.sporrong"},{"email":"oscar.lillheden@twofour.se","name":"oscartwofour"},{"email":"christofer.haglund@outlook.com","name":"haglund"},{"email":"freddy.persson@twofour.se","name":"freddy.persson"}],"readme":"# Block CLI\nThis is a handy CLI tool to generate Gutenberg block files that follows the Resurs Bank project's pattern.\n\n## How to use\nEither install i globally with `npm install -g @24hr/block-cli` or run it with **npx**\n\nIf installed globally you can run `block-cli`.\n\n```\nCommands:\n  block-cli generate <blockName>  Generate block files\n  block-cli completion            generate completion script\n\nOptions:\n  --version  Show version number [boolean]\n  --help     Show help [boolean]\n```\n\n## Generate block\nBy running the `generate` command followed by the block name will generate all files to the **current directory**. Be sure that you run this command at the root of the folder where you want the block files to be generated. \n\n**NOTE** that the CLI will always put the files in a new folder.\n\n## Examples\nGenerate block:\n```shell\nblock-cli generate my-new-block\n```\n\nGenerate block with custom title in Gutenberg editor\n```shell\nblock-cli generate my-new-block --title \"My New Custom Block\"\n```","readmeFilename":"README.md"}