{"action":"created","issue":{"url":"https://api.github.com/repos/hechoendrupal/DrupalConsole/issues/1522","repository_url":"https://api.github.com/repos/hechoendrupal/DrupalConsole","labels_url":"https://api.github.com/repos/hechoendrupal/DrupalConsole/issues/1522/labels{/name}","comments_url":"https://api.github.com/repos/hechoendrupal/DrupalConsole/issues/1522/comments","events_url":"https://api.github.com/repos/hechoendrupal/DrupalConsole/issues/1522/events","html_url":"https://github.com/hechoendrupal/DrupalConsole/issues/1522","id":123008358,"number":1522,"title":"Supporting Drush Commands in DrupalConsole","user":{"login":"darol100","id":6808460,"avatar_url":"https://avatars.githubusercontent.com/u/6808460?v=3","gravatar_id":"","url":"https://api.github.com/users/darol100","html_url":"https://github.com/darol100","followers_url":"https://api.github.com/users/darol100/followers","following_url":"https://api.github.com/users/darol100/following{/other_user}","gists_url":"https://api.github.com/users/darol100/gists{/gist_id}","starred_url":"https://api.github.com/users/darol100/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darol100/subscriptions","organizations_url":"https://api.github.com/users/darol100/orgs","repos_url":"https://api.github.com/users/darol100/repos","events_url":"https://api.github.com/users/darol100/events{/privacy}","received_events_url":"https://api.github.com/users/darol100/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2015-12-18T19:08:25Z","updated_at":"2016-09-07T10:16:14Z","closed_at":null,"body":"### Problem / Motivation\r\nThere is it seem to be some incompatibility of command `drush` and DrupalConsole. For this reason, we are going to remove `drush` command from Drupal Console see more at #1520.\r\n\r\nHowever, Drush still an amazing command tool that we should take advantage in of some their functionality with in side of Drupal Console but without a bridge. Instead we should build the functionality from scratch so we do not need to support bridges problems.\r\n\r\n### Solution\r\n\r\nLets take care of the Drush functionality inside of Drupal Console one by one. This issue is mainly to keep track of what is going with the functionality from Drush. There is going to be a list drush of command below in this issue and some instructions on how we are going to keep track of this issues.\r\n\r\n\r\n**If this functionality is already in Drupal Console lets added lets check the checkbox and add the link of the command that replace it in Drupal Console.**\r\n- [x]  **variable-set** (vset)   Set a variable.\r\n  - [config:override](https://hechoendrupal.gitbooks.io/drupal-console/content/en/commands/config-override.html) - The config:override command Override config value in active configuration.\r\n\r\n**If the functionality is not in Drupal Console lets open an issue added the link of that issue like this.**\r\n- [ ]  **archive-dump** (ard,    Backup your code, files, and database into a single file.\r\n - PR that is been work on - https://github.com/hechoendrupal/DrupalConsole/pull/766\r\n\r\n\r\n### Here is a list of all drush commands:\r\n\r\n- [ ]  **archive-dump** (ard,    Backup your code, files, and database into a single file.\r\n - PR that is been work on - https://github.com/hechoendrupal/DrupalConsole/pull/766\r\n- [ ]  **archive-restore**       Expand a site archive into a Drupal web site.  \r\n - [[archive:restore] Restore an archive command](https://github.com/hechoendrupal/DrupalConsole/issues/1524)\r\n- [ ]  **browse**                Display a link to a given path or open link in a browser.\r\n- [x]  **core-cli** (php)        Open an interactive shell on a Drupal site.\r\n - [[php:interactive] PHP interactive session](https://github.com/hechoendrupal/DrupalConsole/issues/1359)\r\n- [ ]  **core-config** (conf,    Edit drushrc, site alias, and Drupal settings.php files.\r\n- [x]  **core-cron** (cron)      Run all cron hooks in all active modules for specified site.\r\n - [cron:execute](https://hechoendrupal.gitbooks.io/drupal-console/content/en/commands/cron-execute.html) - The cron:execute command Execute cron implementations by module or execute all crons\r\n- [ ]  **core-execute** (exec,   Execute a shell command. Usually used with a site alias.\r\n- [x]  **core-quick-drupal**     Download, install, serve and login to Drupal with minimal configuration and dependencies.\r\n - [chain --file=~/.console/chain/quick-start.yml](https://hechoendrupal.gitbooks.io/drupal-console/content/en/using/how-to-download-install-and-serve-drupal8.html) - How to download, install and serve Drupal 8\r\n- [x]  **core-requirements**     Provides information about things that may be wrong in your Drupal installation, if any.\r\n - [site:status](https://hechoendrupal.gitbooks.io/drupal-console/content/en/commands/site-status.html) - The site:status command View current Drupal Installation status\r\n\r\n- [ ]  **core-rsync** (rsync)    Rsync the Drupal tree to/from another server using ssh.\r\n- [ ]  **core-status** (status,  Provides a birds-eye view of the current Drupal installation, if any.\r\n - [site:status](https://hechoendrupal.gitbooks.io/drupal-console/content/en/commands/site-status.html) - The site:status command View current Drupal Installation status\r\n- [ ]  **core-topic** (topic)    Read detailed documentation on a given topic.\r\n- [ ]  **drupal-directory**      Return the filesystem path for modules/themes and other key folders.\r\n- [ ]  **entity-updates**        Apply pending entity schema updates.\r\n- [ ]  **help**                  Print this help message. See `drush help help` for more options.\r\n - **--help** Display this help message\r\n- [ ]  **image-derive** (id)     Create an image derivative.\r\n- [ ]  **image-flush** (if)      Flush all derived images for a given style.\r\n- [ ]  **php-eval** (eval, ev)   Evaluate arbitrary php code after bootstrapping Drupal (if available).\r\n- [ ]  **php-script** (scr)      Run php script(s).\r\n- [ ]  **queue-list**            Returns a list of all defined queues\r\n- [ ]  **queue-run**             Run a specific queue by name\r\n- [ ]  **shell-alias** (sha)     Print all known shell alias records.\r\n- [ ]  **site-alias** (sa)       Print site alias records for all known site aliases and local sites.\r\n- [ ]  **site-install** (si)     Install Drupal along with modules/themes/configuration using the specified install profile.\r\n- [ ]  **site-set** (use)        Set a site alias to work on that will persist for the current session.\r\n- [ ]  **site-ssh** (ssh)        Connect to a Drupal site's server via SSH for an interactive session or to run a shell command\r\n- [x]  **twig-compile** (twigc)  Compile all Twig template(s).\r\n - [[twig:compile] Compile all twig template files](https://github.com/hechoendrupal/DrupalConsole/issues/1525)\r\n- [ ]  **updatedb** (updb)       Apply any database updates required (as with running update.php).\r\n- [ ]  **updatedb-status**       List any pending database updates.\r\n- [ ]  **usage-send** (usend)    Send anonymous Drush usage information to statistics logging site.  Usage statistics contain the Drush command name and the Drush option names, but no arguments or option values.\r\n- [ ]  **usage-show** (ushow)    Show Drush usage information that has been logged but not sent.  Usage statistics contain the Drush command name and the Drush option names, but no arguments or option values.\r\n- [ ]  **variable-delete**       Delete a variable.\r\n - Command variable-get requires Drupal core version 6 or 7 to run. For this reason, this command does not apply for DrupalConsole.\r\n- [x]  **variable-get** (vget)   Get a list of some or all site variables and values.\r\n - Command variable-get requires Drupal core version 6 or 7 to run. For this reason, this command does not apply for DrupalConsole.\r\n- [x]  **variable-set** (vset)   Set a variable.\r\n  - [config:override](https://hechoendrupal.gitbooks.io/drupal-console/content/en/commands/config-override.html) - The config:override command Override config value in active configuration.\r\n- [x]  **version**               Show drush version.\r\n - **--version** - Display this application version\r\n- [x]  **cache-clear** (cc)      Clear a specific cache, or all drupal caches.\r\n - [cache:rebuild](https://hechoendrupal.gitbooks.io/drupal-console/content/en/commands/cache-rebuild.html) (cr) - The cache:rebuild command Rebuild and clear all site caches.\r\n\r\n- [ ]  **cache-get** (cg)        Fetch a cached object and display it.\r\n- [ ]  **cache-rebuild** (cr,    Rebuild a Drupal 8 site and clear all its caches.\r\n - [cache:rebuild](https://hechoendrupal.gitbooks.io/drupal-console/content/en/commands/cache-rebuild.html) (cr) - The cache:rebuild command Rebuild and clear all site caches.\r\n- [ ]  **cache-set** (cs)        Cache an object expressed in JSON or var_export() format.\r\n- [ ]  **config-edit** (cedit)   Open a config file in a text editor. Edits are imported into active configration after closing editor.\r\n- [x]  **config-export** (cex)   Export configuration to a directory.\r\n - [config:export](https://hechoendrupal.gitbooks.io/drupal-console/content/en/commands/config-export.html) - The config:export command Export current application configuration.\r\n - [config:export:content:type](https://hechoendrupal.gitbooks.io/drupal-console/content/en/commands/config-export-content-type.html) - The config:export:content:type command Export a specific content type and their fields.\r\n - [config:export:single](https://hechoendrupal.gitbooks.io/drupal-console/content/en/commands/config-export-single.html) - The config:export:single command Export single configuration as yml file.\r\n - [config:export:view](https://hechoendrupal.gitbooks.io/drupal-console/content/en/commands/config-export-view.html) - The config:export:view command Export a view in YAML format inside a provided module to reuse in other website.\r\n- [ ]  **config-get** (cget)     Display a config value, or a whole configuration object.\r\n- [x]  **config-import** (cim)   Import config from a config directory.\r\n - [config:import](https://hechoendrupal.gitbooks.io/drupal-console/content/en/commands/config-import.html) - The config:import command Import configuration to current application.\r\n - [config:import:single](https://hechoendrupal.gitbooks.io/drupal-console/content/en/commands/config-import-single.html) - The config:import:single command Import the selected configuration.+\r\n\r\n\r\n- [ ]  **config-list** (cli)     List config names by prefix.\r\n- [ ]  **config-set** (cset)     Set config value directly.\r\n- [ ]  **field-clone**           Clone a field and all its instances.\r\n- [ ]  **field-create**          Create fields and instances. Returns urls for field editing.\r\n- [ ]  **field-delete**          Delete a field and its instances.\r\n- [ ]  **field-info**            View information about fields, field_types, and widgets.\r\n- [ ]  **field-update**          Return URL for field editing web page.\r\n- [ ]  **pm-disable** (dis)      Disable one or more extensions (modules or themes).\r\n- [ ]  **pm-download** (dl)      Download projects from drupal.org or other sources.\r\n- [ ]  **pm-enable** (en)        Enable one or more extensions (modules or themes).\r\n- [ ]  **pm-info** (pmi)         Show detailed info for one or more extensions (modules or themes).\r\n- [ ]  **pm-list** (pml)         Show a list of available extensions (modules and themes).\r\n- [ ]  **pm-refresh** (rf)       Refresh update status information.\r\n- [ ]  **pm-releasenotes**       Print release notes for given projects.\r\n- [ ]  **pm-releases** (rl)      Print release information for given projects.\r\n- [ ]  **pm-uninstall** (pmu)    Uninstall one or more modules.\r\n- [ ]  **pm-update** (up)        Update Drupal core and contrib projects and apply any pending database updates (Same as pm-updatecode + updatedb).\r\n- [ ]  **pm-updatecode** (upc)   Update Drupal core and contrib projects to latest recommended releases.\r\n- [ ]  **pm-updatestatus**       Show a report of available minor updates to Drupal core and contrib projects.\r\n- [ ]  **role-add-perm** (rap)   Grant specified permission(s) to a role.\r\n- [ ]  **role-create** (rcrt)    Create a new role.\r\n- [ ]  **role-delete** (rdel)    Delete a role.\r\n- [ ]  **role-list** (rls)       Display a list of all roles defined on the system.  If a role name is provided as an argument, then all of the permissions of that role will be listed.  If a permission name is provided as an option, then all of the roles that have been granted that permission will be listed.\r\n- [ ]  **role-remove-perm**      Remove specified permission(s) from a role.\r\n- [ ]  **runserver** (rs)        Runs PHP's built-in http server for development.\r\n- [ ]  **sql-cli** (sqlc)        Open a SQL command-line interface using Drupal's credentials.\r\n- [ ]  **sql-connect**           A string for connecting to the DB.\r\n- [ ]  **sql-create**            Create a database.\r\n- [ ]  **sql-drop**              Drop all tables in a given database.\r\n- [ ]  **sql-dump**              Exports the Drupal DB as SQL using mysqldump or equivalent.\r\n- [ ]  **sql-query** (sqlq)      Execute a query against a database.\r\n- [ ]  **sql-sanitize**          Run sanitization operations on the current database.\r\n- [ ]  **sql-sync**              Copies the database contents from a source site to a target site. Transfers the database dump via rsync.\r\n- [ ]  **search-index**          Index the remaining search items without wiping the index.\r\n- [ ]  **search-reindex**        Force the search index to be rebuilt.\r\n- [ ]  **search-status**         Show how many items remain to be indexed out of the total.\r\n- [ ]  **state-delete** (sdel)   Delete a state value.\r\n- [ ]  **state-get** (sget)      Display a state value.\r\n- [ ]  **state-set** (sset)      Set a state value.\r\n- [ ]  **user-add-role** (urol)  Add a role to the specified user accounts.\r\n- [ ]  **user-block** (ublk)     Block the specified user(s).\r\n- [ ]  **user-cancel** (ucan)    Cancel a user account with the specified name.\r\n- [ ]  **user-create** (ucrt)    Create a user account with the specified name.\r\n- [ ]  **user-information**      Print information about the specified user(s).\r\n- [ ]  **user-login** (uli)      Display a one time login link for the given user account (defaults to uid 1).\r\n- [ ]  **user-password** (upwd)  (Re)Set the password for the user account with the specified name.\r\n- [ ]  **user-remove-role**      Remove a role from the specified user accounts.\r\n- [ ]  **user-unblock** (uublk)  Unblock the specified user(s).\r\n- [ ]  **watchdog-delete**      Delete watchdog messages.\r\n- [ ]  **watchdog-list**        Show available message types and severity levels. A prompt will ask for a choice to show watchdog messages.\r\n- [ ]  **watchdog-show**        Show watchdog messages. \r\n- [ ]  **make**                  Turns a makefile into a working Drupal codebase.\r\n- [ ]  **make-convert**          Convert a legacy makefile into YAML format.\r\n- [ ]  **make-generate**         Generate a makefile from the current Drupal site.\r\n- [ ]  **(generate-makefile)**\r\n- [ ]  **make-update**           Process a makefile and outputs an equivalent makefile with projects version resolved to latest available."},"comment":{"url":"https://api.github.com/repos/hechoendrupal/DrupalConsole/issues/comments/245237189","html_url":"https://github.com/hechoendrupal/DrupalConsole/issues/1522#issuecomment-245237189","issue_url":"https://api.github.com/repos/hechoendrupal/DrupalConsole/issues/1522","id":245237189,"user":{"login":"Saphyel","id":5764721,"avatar_url":"https://avatars.githubusercontent.com/u/5764721?v=3","gravatar_id":"","url":"https://api.github.com/users/Saphyel","html_url":"https://github.com/Saphyel","followers_url":"https://api.github.com/users/Saphyel/followers","following_url":"https://api.github.com/users/Saphyel/following{/other_user}","gists_url":"https://api.github.com/users/Saphyel/gists{/gist_id}","starred_url":"https://api.github.com/users/Saphyel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Saphyel/subscriptions","organizations_url":"https://api.github.com/users/Saphyel/orgs","repos_url":"https://api.github.com/users/Saphyel/repos","events_url":"https://api.github.com/users/Saphyel/events{/privacy}","received_events_url":"https://api.github.com/users/Saphyel/received_events","type":"User","site_admin":false},"created_at":"2016-09-07T10:16:14Z","updated_at":"2016-09-07T10:16:14Z","body":"I use D8 at work everyday and well for me the most important commands (because our workflow) are mainly this list is my priority:\r\n\r\n* drush make\r\n* drush si\r\n* drush core-cron\r\n* drush uli\r\n* drush ucrt\r\n* drush urol\r\n* drush cex\r\n* drush config-devel-export\r\n* drush config-devel-import\r\n* drush dcem\r\n* drush dcer\r\n* drush updb -y\r\n* drush cr\r\n* drush sql-drop -y\r\n* drush sql-cli\r\n* drush sql-dump\r\n* drush cset\r\n* drush cim\r\n\r\n(I think I miss a few but I'm sure that they are not at the moment in drupalconsole yet)"}}
{"actor":{"display_login":"Saphyel"}}