Problem/Motivation
This is to decide what needs to be done for the 'dr' command to be considered stable instead of experimental.
The general idea is to have dr command so one can manage a 'normal' Drupal site' without drush. Task such as,
- cache:rebuild
- config:export
- config:import
- config:status
- core:cron
- core:status
- pm:install
- pm:uninstall
- site:install
- sql:drop
- sql:query
- updatedb
- user:login
- watchdog:show
Anything else?
Stable blockers
Install
#3594342: Update install command to allow installing using any database driver
#3594320: Allow `dr install` to install when database is already configured
Cache clear - Already in core
Config export #3594337: Add a command to export configuration
Config import #3594338: Add a command to import configuration
Extension install #3594334: Add a module and theme install command
Extension uninstall #3594335: Add a module and theme uninstall command
Database update #3594333: Add a database update command
Database update status #3594340: Add a command to display database update status
To be triaged
#3594336: Add a command to list modules and themes on a site
#3594339: Add a command to display configuration status
#3594342: Update install command to allow installing using any database driver
#3587722: Consider what `dr` CLI command should do if it cannot bootstrap Core
#3587723: Consider a specific logger channel for CLI commands
#3594184: CLI cannot discover commands in subdirectories that have a period in the name
#3606645: Add Laravel Prompts as a dependency for CLI app
Comments
Comment #2
quietone commentedComment #3
quietone commentedComment #4
quietone commentedComment #5
quietone commentedComment #6
quietone commentedComment #7
quietone commentedIn committer slack Gábor and catch suggested, sql:drop
Comment #8
ressaI pulled some stats from local machine and server with
history | grep drush | cut -d' ' -f4- | cut -d' ' -f 1,2 | sort | uniq -c | sort -nrThe development and deployment commands are different of nature, since they are different scenarios, but these were the top Drush Drupal core commands:
Changes in Issue Summary:
The current list of 14 Drush commands are required for basic Drupal maintenance, I would think.
Slightly more niche commands, maybe to be included in a second round?
PS. The spreadsheet is using system:cron and system:status, which should probably be core:cron and core:status.
Comment #9
mradcliffeI updated the parent issue for command issues that are mentioned in the issue summary to this issue.