{"id":13852355,"url":"https://github.com/mglaman/drupalorg-cli","last_synced_at":"2025-04-05T23:11:20.345Z","repository":{"id":37549358,"uuid":"51658058","full_name":"mglaman/drupalorg-cli","owner":"mglaman","description":"A command line tool for interfacing with Drupal.org","archived":false,"fork":false,"pushed_at":"2024-01-27T16:57:02.000Z","size":490,"stargazers_count":129,"open_issues_count":49,"forks_count":32,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-29T22:08:15.335Z","etag":null,"topics":["cli","drupal"],"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/mglaman.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":"mglaman","patreon":null,"open_collective":null,"ko_fi":"mglaman","tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2016-02-13T18:01:06.000Z","updated_at":"2025-01-23T15:28:29.000Z","dependencies_parsed_at":"2024-09-23T03:00:24.212Z","dependency_job_id":null,"html_url":"https://github.com/mglaman/drupalorg-cli","commit_stats":{"total_commits":213,"total_committers":17,"mean_commits":"12.529411764705882","dds":"0.49295774647887325","last_synced_commit":"ea547b28ecbbfe8934195e5fb46b278c6c5c05e7"},"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mglaman%2Fdrupalorg-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mglaman%2Fdrupalorg-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mglaman%2Fdrupalorg-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mglaman%2Fdrupalorg-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mglaman","download_url":"https://codeload.github.com/mglaman/drupalorg-cli/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247411235,"owners_count":20934653,"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":["cli","drupal"],"created_at":"2024-08-04T22:01:16.719Z","updated_at":"2025-04-05T23:11:20.319Z","avatar_url":"https://github.com/mglaman.png","language":"PHP","readme":"Drupal.org CLI\n--------------\n[![Latest Stable Version](https://poser.pugx.org/mglaman/drupalorg-cli/v/stable)](https://packagist.org/packages/mglaman/drupalorg-cli) [![Total Downloads](https://poser.pugx.org/mglaman/drupalorg-cli/downloads)](https://packagist.org/packages/mglaman/drupalorg-cli) [![Latest Unstable Version](https://poser.pugx.org/mglaman/drupalorg-cli/v/unstable)](https://packagist.org/packages/mglaman/drupalorg-cli) [![License](https://poser.pugx.org/mglaman/drupalorg-cli/license)](https://packagist.org/packages/mglaman/drupalorg-cli)\n\nA command line tool for interfacing with Drupal.org. Uses the Drupal.org REST API.\n\n## Requirements\n\n* PHP 8.1 or higher, with cURL support\n* [Git](https://git-scm.com/) - Currently required to apply and create patches. Very useful for contributing patches back to an issue.\n\n## Installation\n\n### Installing manually\n\n1. Download the `drupalorg.phar` file from the [latest release](https://github.com/mglaman/drupalorg-cli/releases/latest).\n\n2. Rename the file to `drupalorg`, ensure it is executable, and move it into a directory in your PATH (use `echo $PATH` to see your options).\n\n3. Run `drupalorg` and verify you can see the list of available commands.\n\n### Installing via Composer (deprecated)\n\nUse the following command to install the command line tool via Composer:\n\n`composer global require mglaman/drupalorg-cli`\n\n### Installing (Bash) completion\n\n`drupalorg` comes with completion support for all commands, excluding options.\n\nTo activate it, either source the completion file or add it to the system-wide completion directory, normally `/etc/bash_completion.d/`.\n\nIn your `.bashrc` (or `.profile`) add\n\n```\nsource [...]/vendor/mglaman/drupalorg-cli/drupalorg-cli-completion.sh\n```\n\n## Updating\n\nAutomatic updating is not yet supported. You will need to manually download new releases.\n\n## Usage\n\nUse the 'list' command to see available commands. \n\n```\ndrupalorg list\n```\n\n## Commands\n\n````\nAvailable commands:\n  help                                 Displays help for a command\n  list                                 Lists commands\n cache\n  cache:clear (cc)                     Clears caches\n ci\n drupalci\n  drupalci:list (ci:l)                 Lists test results for an issue\n  drupalci:watch (ci:w)                Watches a Drupal CI job\n issue\n  issue:apply                          Applies the latest patch from an issue.\n  issue:branch                         Creates a branch for the issue.\n  issue:interdiff                      Generate an interdiff for the issue from local changes.\n  issue:link                           Opens an issue\n  issue:patch                          Generate a patch for the issue from committed local changes.\n maintainer\n  maintainer:issues (mi)               Lists issues for a user, based on maintainer.\n  maintainer:release-notes (rn, mrn)   Generate release notes.\n project\n  project:issues (pi)                  Lists issues for a project.\n  project:kanban                       Opens project kanban\n  project:link                         Opens project page\n  project:release-notes (prn)          View release notes for a release\n  project:releases                     Lists available releases\n tci\n travisci\n  travisci:list (tci:l)                Lists Travis Ci builds for a Drupal project\n  travisci:watch (tci:w)               Watches a Travis CI job\n````\n\n## Getting Started\n\n### Working with project issues\n\nIf you want to use this to generate patches that you can contribute back to a Drupal project, it's best to work within a cloned repo of that project. To get instructions for cloning a project's repo, visit the \"Version Control\" tab on the project page.\n\nFrom within the directory of the project we're working on:\n\n* `drupalorg issue:apply [issue number]` - Create a new branch for the given issue, apply the latest patch on the issue to the new branch, then commit the changes locally.\n* `drupalorg issue:patch [issue number]` - Create a new patch for the given issue from the changes committed locally.\n\n## Contributing\n\n### Installing and running from source\n\n1. Clone the repository\n2. In the drupalorg-cli directory, run `composer install`\n3. Run the script with `./drupalorg`\n","funding_links":["https://github.com/sponsors/mglaman","https://ko-fi.com/mglaman"],"categories":["PHP","CLI Tools \u0026 Frameworks"],"sub_categories":["Drupal-Specific CLI Tools"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmglaman%2Fdrupalorg-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmglaman%2Fdrupalorg-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmglaman%2Fdrupalorg-cli/lists"}