{"id":15937121,"url":"https://github.com/knowler/shamrock","last_synced_at":"2026-04-22T12:37:21.151Z","repository":{"id":114063544,"uuid":"181114855","full_name":"knowler/shamrock","owner":"knowler","description":"My personal CLI for the most simple WordPress plugin boilerplate.","archived":false,"fork":false,"pushed_at":"2019-04-13T04:06:45.000Z","size":9,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-20T11:30:05.313Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/knowler.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-04-13T03:16:06.000Z","updated_at":"2019-05-14T03:20:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"324fff23-e3f9-46a4-98d1-389c020acedd","html_url":"https://github.com/knowler/shamrock","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knowler%2Fshamrock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knowler%2Fshamrock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knowler%2Fshamrock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knowler%2Fshamrock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/knowler","download_url":"https://codeload.github.com/knowler/shamrock/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243437965,"owners_count":20290864,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-07T05:00:21.395Z","updated_at":"2025-12-28T12:32:42.929Z","avatar_url":"https://github.com/knowler.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Shamrock – a Simple WordPress Plugin Scaffolder\n\nA very simple WordPress plugin scaffolding tool. Mainly for\nmyself as I learn Rust and continue to use WordPress\n(_shutters_).\n\nShamrock is a baby cousin to [Clover] — a fully featured plugin\nscaffolding tool/boilerplate in development by [Roots].\n\nRight now, Shamrock just modifies the plugin header and fills it\nwith my details. You can use flags to add your details. See the\nusage with: `shamrock help new`\n\n## Usage\n\nCreate a new plugin (using my details):\n\n```shell\n$ shamrock new Example\nCreated example.php ☘\n```\n\nShamrock automatically converts the name you enter to the\ncorrect format for filenames or plugin names, so you can enter\neither (just make sure you’re wrapping with quotes or escaping\nwith backslashes if you have spaces).\n\nCreate a new plugin with a description:\n\n```shell\n$ shamrock new example --desc \"An example plugin demonstrating Shamrock.\"\nCreated example.php ☘\n```\n\nUse `shamrock help` and `shamrock help \u003csubcommand\u003e` for more\nusage details.\n\n## Installation\n\nYou will need [Rust + Cargo](https://rustup.rs/) installed to\ninstall the binary.\n\nYou can either install using the URL to the repo:\n\n```shell\n$ cargo install --git https://github.com/knowler/shamrock\n$ mkdir ~/.config/shamrock\n$ curl https://raw.githubusercontent.com/knowler/shamrock/master/src/templates/shamrock.php -o ~/.config/shamrock/shamrock.php\n```\n\nOr install after cloning.\n\n```shell\n$ git clone https://github.com/knowler/shamrock\n$ cd shamrock\n$ cargo install --path .\n$ mkdir ~/.config/shamrock\n$ cp src/templates/shamrock.php ~/.config/shamrock/shamrock.php\n```\n\n## Future\n\nIt would be great if this didn’t use my details by default, but\nit is a personal project. If you’d like to hack away and make it\nload author details from the global Git config, PRs are\naccepted ([git2] would be a good place to start for this).\n\n[Clover]: https://roots.io/clover/\n[Roots]: https://roots.io/\n[git2]: https://docs.rs/git2/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknowler%2Fshamrock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fknowler%2Fshamrock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknowler%2Fshamrock/lists"}