All Projects → mglaman → Drupalorg Cli

mglaman / Drupalorg Cli

A command line tool for interfacing with Drupal.org

Labels

Projects that are alternatives of or similar to Drupalorg Cli

Drucker
drucker: Drupal + Docker - Spin up Drupal, Lightning or BLT in seconds.
Stars: ✭ 26 (-69.77%)
Mutual labels:  cli, drupal
Drush
Drush is a command-line shell and scripting interface for Drupal, a veritable Swiss Army knife designed to make life easier for those who spend their working hours hacking away at the command prompt.
Stars: ✭ 2,213 (+2473.26%)
Mutual labels:  cli, drupal
Drupal Code Generator
A code generator for Drupal.
Stars: ✭ 184 (+113.95%)
Mutual labels:  cli, drupal
Drupal Console
The Drupal CLI. A tool to generate boilerplate code, interact with and debug Drupal.
Stars: ✭ 913 (+961.63%)
Mutual labels:  cli, drupal
Redrun
✨🐌 🐎✨ fastest npm scripts runner
Stars: ✭ 85 (-1.16%)
Mutual labels:  cli
Jaydiff
A JSON diff utility
Stars: ✭ 84 (-2.33%)
Mutual labels:  cli
Opaline
NextJS for CLI tools
Stars: ✭ 84 (-2.33%)
Mutual labels:  cli
Ritchie Formulas
This repository contains the community formulas that can be executed through Ritchie CLI once imported. This tool is an open source product that allows you to create, store and share any kind of automations, executing them through command lines, to run operations or start workflows ⚙️ 🖥 💡
Stars: ✭ 84 (-2.33%)
Mutual labels:  cli
Prettier Package Json
Prettier formatter for package.json files
Stars: ✭ 86 (+0%)
Mutual labels:  cli
Fileinfo
📄Get information on over 10,000 file extensions right from the terminal
Stars: ✭ 86 (+0%)
Mutual labels:  cli
Dunamai
Dynamic versioning library and CLI
Stars: ✭ 85 (-1.16%)
Mutual labels:  cli
Dog
Dog wants to be a very good task runner
Stars: ✭ 84 (-2.33%)
Mutual labels:  cli
Installer
Anarchy Linux - A simple and intuitive Arch Linux installer. https://anarchyinstaller.org/
Stars: ✭ 1,266 (+1372.09%)
Mutual labels:  cli
Awesome Laravel Zero
👋 START HERE! A curated list of Laravel Zero libraries, resources and projects
Stars: ✭ 84 (-2.33%)
Mutual labels:  cli
Pypistats
Command-line interface to PyPI Stats API to get download stats for Python packages
Stars: ✭ 86 (+0%)
Mutual labels:  cli
Git Copy History
Copy commit history from another repository
Stars: ✭ 84 (-2.33%)
Mutual labels:  cli
Baelte
CLI tool for svelte to help you be productive
Stars: ✭ 85 (-1.16%)
Mutual labels:  cli
Action Hero
Write powerful CLIs with argparse actions that pack a punch! 👊
Stars: ✭ 86 (+0%)
Mutual labels:  cli
Lua cliargs
A command-line argument parsing module for Lua.
Stars: ✭ 84 (-2.33%)
Mutual labels:  cli
Dfc
Report file system space usage information with style (mirror repository)
Stars: ✭ 84 (-2.33%)
Mutual labels:  cli

Drupal.org CLI

Latest Stable Version Total Downloads Latest Unstable Version License

A command line tool for interfacing with Drupal.org. Uses the Drupal.org REST API.

Requirements

  • PHP 7.2 or higher, with cURL support
  • Git - Currently required to apply and create patches. Very useful for contributing patches back to an issue.

Installation

Installing manually

  1. Download the drupalorg.phar file from the latest release.

  2. 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).

  3. Run drupalorg and verify you can see the list of available commands.

Installing via Composer (deprecated)

Use the following command to install the command line tool via Composer:

composer global require mglaman/drupalorg-cli

Installing (Bash) completion

drupalorg comes with completion support for all commands, excluding options.

To activate it, either source the completion file or add it to the system-wide completion directory, normally /etc/bash_completion.d/.

In your .bashrc (or .profile) add

source [...]/vendor/mglaman/drupalorg-cli/drupalorg-cli-completion.sh

Updating

Automatic updating is not yet supported. You will need to manually download new releases.

Usage

Use the 'list' command to see available commands.

drupalorg list

Commands

Available commands:
  help                                 Displays help for a command
  list                                 Lists commands
 cache
  cache:clear (cc)                     Clears caches
 ci
 drupalci
  drupalci:list (ci:l)                 Lists test results for an issue
  drupalci:watch (ci:w)                Watches a Drupal CI job
 issue
  issue:apply                          Applies the latest patch from an issue.
  issue:branch                         Creates a branch for the issue.
  issue:interdiff                      Generate an interdiff for the issue from local changes.
  issue:link                           Opens an issue
  issue:patch                          Generate a patch for the issue from committed local changes.
 maintainer
  maintainer:issues (mi)               Lists issues for a user, based on maintainer.
  maintainer:release-notes (rn, mrn)   Generate release notes.
 project
  project:issues (pi)                  Lists issues for a project.
  project:kanban                       Opens project kanban
  project:link                         Opens project page
  project:release-notes (prn)          View release notes for a release
  project:releases                     Lists available releases
 tci
 travisci
  travisci:list (tci:l)                Lists Travis Ci builds for a Drupal project
  travisci:watch (tci:w)               Watches a Travis CI job

Getting Started

Working with project issues

If 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.

From within the directory of the project we're working on:

  • 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.
  • drupalorg issue:patch [issue number] - Create a new patch for the given issue from the changes committed locally.

Contributing

Installing and running from source

  1. Clone the repository
  2. In the drupalorg-cli directory, run composer install
  3. Run the script with ./drupalorg
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].