Giter Club home page Giter Club logo

composer-auto-commands's Introduction

Latest Stable Version TYPO3 11 TYPO3 12 Total Downloads Monthly Downloads Build Status StyleCI License Donate

TYPO3 Console

TYPO3 Console (helhum/typo3-console) provides a clean way to register commands and a sane way to call these commands through the TYPO3 core command line tool called typo3.

Important information for longtime users

The CLI binary typo3cms was removed with version 8.0.0 and is replaced by the TYPO3 CLI binary typo3. Commands that were called e.g. typo3cms database:updateschema before, must now be called with typo3 database:updateschema.

It ships many commands to execute TYPO3 actions, which otherwise would only be accessible via the TYPO3 backend. This makes TYPO3 Console a perfect companion for development, deployment, Docker setups, continuous integration workflows or anything else where automation is required or beneficial.

Examples for such commands are:

  • typo3 install:setup to completely set up TYPO3 from command line
  • typo3 database:updateschema to perform granular database schema updates
URL
Repository: https://github.com/TYPO3-Console/TYPO3-Console
Read online: https://docs.typo3.org/p/helhum/typo3-console/main/en-us/
TER: https://extensions.typo3.org/extension/typo3_console

composer-auto-commands's People

Contributors

astehlik avatar drwh0286 avatar gilbertsoft avatar helhum avatar kanti avatar ohader avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

composer-auto-commands's Issues

Helpful error messages are suppressed

If an error occurs during the execution of the console commands the helpful error messages are suppressed and only a error code is shown:

$ ddev composer install
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Package operations: 1 install, 0 updates, 0 removals
  - Installing dirkpersky/typo3-rte-ckeditor-fontawesome (10.0.0): Downloading (Downloading (100%)
Generating autoload files
Setting up TYPO3 environment and extensions.
Executing TYPO3 Console command "database:updateschema" returned with error code 255.
Executing TYPO3 Console command "cache:flush" returned with error code 255.
Executing TYPO3 Console command "extension:setupactive" returned with error code 255.
> typo3cms install:fixfolderstructure
> typo3cms install:generatepackagestates

If you run the command directly this is shown:

$ ddev composer install
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Nothing to install or update
Generating autoload files
> typo3cms database:updateschema
  [ TYPO3\CMS\Core\Cache\Exception ]
  The APCu backend cannot be used because apcu is disabled on CLI.
database:updateschema [--dry-run] [--] [<schemaUpdateTypes>]
Script typo3cms database:updateschema handling the typo3-cms-scripts event returned with error code 255
Script @typo3-cms-scripts was called via post-autoload-dump

Additionally to the error code it would be nice to see the exception too which will make debugging much faster especially for beginners. We had this case today in Slack see https://typo3.slack.com/archives/C8TRNQ601/p1585051552060100

TYPO3 Console v8

Currently, this package requires helhum/typo3-console v7. It would be great if we could use it with v8 as well.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.