{"id":19045486,"url":"https://github.com/yoast/yoast-cli","last_synced_at":"2025-08-11T13:03:11.821Z","repository":{"id":66244487,"uuid":"147520994","full_name":"Yoast/yoast-cli","owner":"Yoast","description":"A Yoast development tool","archived":false,"fork":false,"pushed_at":"2022-09-29T13:44:36.000Z","size":29,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-21T09:06:06.049Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","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/Yoast.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":"2018-09-05T13:19:42.000Z","updated_at":"2018-09-05T15:24:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"7562d774-1ca3-4000-a3bd-cf611a93143a","html_url":"https://github.com/Yoast/yoast-cli","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Yoast/yoast-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yoast%2Fyoast-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yoast%2Fyoast-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yoast%2Fyoast-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yoast%2Fyoast-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Yoast","download_url":"https://codeload.github.com/Yoast/yoast-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yoast%2Fyoast-cli/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269891727,"owners_count":24491767,"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","status":"online","status_checked_at":"2025-08-11T02:00:10.019Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-11-08T22:50:23.121Z","updated_at":"2025-08-11T13:03:11.741Z","avatar_url":"https://github.com/Yoast.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"CLI tool we use at Yoast to automate some tasks.\n\n## Features\n\n* Generate changelogs based on milestoned issues.\n* Create beta-versions of Yoast SEO with support for custom branches for YoastSEO.js and Yoast Components.\n* More coming in the future.\n\n## Setup\n\nBefore you can start using the script, it is necessary to register a GitHub access token. To do this, follow these steps:\n\n* Generate a new Personal Access Token in GitHub by going [here](https://github.com/settings/tokens/new). Be sure to check the `repos` box under scope.\n* Click `Generate token` and make sure you copy the newly generated access token.\n* Clone this Wiki repository to your preferred directory.\n* Navigate to `/yoast-cli/`\n* Run `composer install` to install all necessary dependencies.\n* Copy the `.env.example` file and rename it to `.env` by running `cp .env.example .env`.\n* Open the file with your preferred editor and replace `your_token_here` with the access token you just generated. Save the file.\n\n## Usage\n\nAfter you've successfully setup the script, it's time to use it!\n\n### General usage\n\nWhenever you want to call one of the commands within the script, ensure you start off with `./yoast-cli.php` followed by a space and the wanted command. **Please note the `.` before the slash. This is required to properly run the command!**\n\nWhen simply running `./yoast-cli.php`, you'll be presented with some information about the available commands and their usage. Go on, give it a try!\n\n### Generating changelogs\n\nIf you want to generate changelogs for a particular repository, all you need to do is follow these steps: \n\n* Run `./yoast-cli.php changelog:create`. You'll be presented with a list of available repositories to generate a changelog for.\n* Select the wanted repository. You'll be presented a list of open milestones. \n* Select the wanted milestone.\n* The changelog items will automatically be collected and written to the `/changelogs/ directory.\n\n### Creating beta versions (currently not usable for RCs)\n\n**Please note that this currently only works for Yoast SEO due to some limitations in the setup of other repositories.**\n\nIf you want to beta version for a particular repository, all you need to do is follow these steps: \n\n* Run `./yoast-cli.php beta`. You'll be presented with a list of available repositories to generate a beta version for.\n* Select one of the repositories.\n* Supply what branch of the plugin you want to build (Required).\n* Supply what branch of YoastSEO.js you want to build (Optional. Leave blank if you want to use the default).\n* Supply what branch of Yoast Components you want to build (Optional. Leave blank if you want to use the default).\n* Supply a name for the zip file.\n\nOn average, it takes about 15 minutes to create a beta if you have custom dependencies selected. If you just want to build a specific release branch, this can vary between ~8 and ~10 minutes.\n\n## Good luck!\n\n![](http://i.giphy.com/b8FBho6FFLsFG.gif)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyoast%2Fyoast-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyoast%2Fyoast-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyoast%2Fyoast-cli/lists"}